it.unimi.dsi.fastutil.booleans
Class BooleanSets.SynchronizedSet

java.lang.Object
  extended by it.unimi.dsi.fastutil.booleans.BooleanCollections.SynchronizedCollection
      extended by it.unimi.dsi.fastutil.booleans.BooleanSets.SynchronizedSet
All Implemented Interfaces:
BooleanCollection, BooleanIterable, BooleanSet, java.io.Serializable, java.lang.Iterable<java.lang.Boolean>, java.util.Collection<java.lang.Boolean>, java.util.Set<java.lang.Boolean>
Enclosing class:
BooleanSets

public static class BooleanSets.SynchronizedSet
extends BooleanCollections.SynchronizedCollection
implements BooleanSet, java.io.Serializable

A synchronized wrapper class for sets.

See Also:
Serialized Form

Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 boolean remove(boolean k)
          Removes an element from this set.
 
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 class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanSet
iterator
 
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
 

Method Detail

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(java.lang.Object o)
Specified by:
equals in interface java.util.Collection<java.lang.Boolean>
Specified by:
equals in interface java.util.Set<java.lang.Boolean>
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Collection<java.lang.Boolean>
Specified by:
hashCode in interface java.util.Set<java.lang.Boolean>
Overrides:
hashCode in class java.lang.Object