it.unimi.dsi.fastutil.ints
Class IntSets.SynchronizedSet
java.lang.Object
it.unimi.dsi.fastutil.ints.IntCollections.SynchronizedCollection
it.unimi.dsi.fastutil.ints.IntSets.SynchronizedSet
- All Implemented Interfaces:
- Collection, IntCollection, IntSet, Serializable, Set
- Direct Known Subclasses:
- IntSortedSets.SynchronizedSortedSet
- Enclosing class:
- IntSets
- public static class IntSets.SynchronizedSet
- extends IntCollections.SynchronizedCollection
- implements IntSet, Serializable
A synchronized wrapper class for sets.
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(Object o)
|
int |
hashCode()
|
boolean |
remove(int k)
Note that the corresponding method of the type-specific collection is rem() .
|
Methods inherited from class it.unimi.dsi.fastutil.ints.IntCollections.SynchronizedCollection |
add, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, intIterator, isEmpty, iterator, rem, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toArray, toArray, toIntArray, toIntArray, toString |
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntCollection |
add, addAll, contains, containsAll, intIterator, rem, removeAll, retainAll, toArray, toIntArray, toIntArray |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
remove
public boolean remove(int k)
- Description copied from interface:
IntSet
- Note that the corresponding method of the type-specific collection is
rem()
.
This unfortunate situation is caused by the clash
with the similarly named index-based method in the List
interface.
- Specified by:
remove
in interface IntSet
- See Also:
Collection.remove(Object)
equals
public boolean equals(Object o)
- Specified by:
equals
in interface Set
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Set