it.unimi.dsi.fastutil.floats
Class FloatSets.SynchronizedSet

java.lang.Object
  extended by it.unimi.dsi.fastutil.floats.FloatCollections.SynchronizedCollection
      extended by it.unimi.dsi.fastutil.floats.FloatSets.SynchronizedSet
All Implemented Interfaces:
FloatCollection, FloatIterable, FloatSet, java.io.Serializable, java.lang.Iterable<java.lang.Float>, java.util.Collection<java.lang.Float>, java.util.Set<java.lang.Float>
Direct Known Subclasses:
FloatSortedSets.SynchronizedSortedSet
Enclosing class:
FloatSets

public static class FloatSets.SynchronizedSet
extends FloatCollections.SynchronizedCollection
implements FloatSet, java.io.Serializable

A synchronized wrapper class for sets.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 boolean remove(float k)
          Removes an element from this set.
 
Methods inherited from class it.unimi.dsi.fastutil.floats.FloatCollections.SynchronizedCollection
add, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, floatIterator, isEmpty, iterator, rem, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toArray, toArray, toFloatArray, toFloatArray, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface it.unimi.dsi.fastutil.floats.FloatSet
iterator
 
Methods inherited from interface it.unimi.dsi.fastutil.floats.FloatCollection
add, addAll, contains, containsAll, floatIterator, rem, removeAll, retainAll, toArray, toArray, toFloatArray, toFloatArray
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Method Detail

remove

public boolean remove(float k)
Description copied from interface: FloatSet
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 FloatSet
See Also:
Collection.remove(Object)

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Collection<java.lang.Float>
Specified by:
equals in interface java.util.Set<java.lang.Float>
Overrides:
equals in class java.lang.Object

hashCode

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