it.unimi.dsi.fastutil.doubles
Class DoubleSets.SynchronizedSet
java.lang.Object
it.unimi.dsi.fastutil.doubles.DoubleCollections.SynchronizedCollection
it.unimi.dsi.fastutil.doubles.DoubleSets.SynchronizedSet
- All Implemented Interfaces:
- DoubleCollection, DoubleIterable, DoubleSet, Serializable, Iterable<Double>, Collection<Double>, Set<Double>
- Direct Known Subclasses:
- DoubleSortedSets.SynchronizedSortedSet
- Enclosing class:
- DoubleSets
public static class DoubleSets.SynchronizedSet
- extends DoubleCollections.SynchronizedCollection
- implements DoubleSet, Serializable
A synchronized wrapper class for sets.
- See Also:
- Serialized Form
| Methods inherited from class it.unimi.dsi.fastutil.doubles.DoubleCollections.SynchronizedCollection |
add, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, doubleIterator, isEmpty, iterator, rem, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toArray, toArray, toDoubleArray, toDoubleArray, toString |
| Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleCollection |
add, addAll, contains, containsAll, doubleIterator, rem, removeAll, retainAll, toArray, toArray, toDoubleArray, toDoubleArray |
| 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(double k)
- Description copied from interface:
DoubleSet
- 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 DoubleSet
- See Also:
Collection.remove(Object)
equals
public boolean equals(Object o)
- Specified by:
equals in interface Collection<Double>- Specified by:
equals in interface Set<Double>- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface Collection<Double>- Specified by:
hashCode in interface Set<Double>- Overrides:
hashCode in class Object