it.unimi.dsi.fastutil.booleans
Class BooleanSets.SynchronizedSet
java.lang.Object
it.unimi.dsi.fastutil.booleans.BooleanCollections.SynchronizedCollection
it.unimi.dsi.fastutil.booleans.BooleanSets.SynchronizedSet
- All Implemented Interfaces:
- BooleanCollection, BooleanIterable, BooleanSet, Serializable, Iterable<Boolean>, Collection<Boolean>, Set<Boolean>
- Enclosing class:
- BooleanSets
public static class BooleanSets.SynchronizedSet
- extends BooleanCollections.SynchronizedCollection
- implements BooleanSet, Serializable
A synchronized wrapper class for sets.
- See Also:
- Serialized Form
Methods inherited from class it.unimi.dsi.fastutil.booleans.BooleanCollections.SynchronizedCollection |
add, add, addAll, addAll, booleanIterator, clear, contains, contains, containsAll, containsAll, isEmpty, iterator, rem, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toArray, toArray, toBooleanArray, toBooleanArray, toString |
Methods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanCollection |
add, addAll, booleanIterator, contains, containsAll, rem, removeAll, retainAll, toArray, toArray, toBooleanArray, toBooleanArray |
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
remove
public boolean remove(boolean k)
- Description copied from interface:
BooleanSet
- Removes an element from this set.
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 BooleanSet
- See Also:
Collection.remove(Object)
equals
public boolean equals(Object o)
- Specified by:
equals
in interface Collection<Boolean>
- Specified by:
equals
in interface Set<Boolean>
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Collection<Boolean>
- Specified by:
hashCode
in interface Set<Boolean>
- Overrides:
hashCode
in class Object