|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unimi.dsi.fastutil.doubles.DoubleCollections.SynchronizedCollection
it.unimi.dsi.fastutil.doubles.DoubleSets.SynchronizedSet
public static class DoubleSets.SynchronizedSet
A synchronized wrapper class for sets.
Field Summary | |
---|---|
static long |
serialVersionUID
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
boolean |
remove(double k)
Removes an element from this set. |
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 class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleSet |
---|
iterator |
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 |
Field Detail |
---|
public static final long serialVersionUID
Method Detail |
---|
public boolean remove(double k)
DoubleSet
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.
remove
in interface DoubleSet
Collection.remove(Object)
public boolean equals(java.lang.Object o)
equals
in interface java.util.Collection<java.lang.Double>
equals
in interface java.util.Set<java.lang.Double>
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.util.Collection<java.lang.Double>
hashCode
in interface java.util.Set<java.lang.Double>
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |