public class RawDoubleSet extends DoubleSet.Base implements DoubleSet
DoubleSet backed by a BitLongSets for raw double values.DoubleSet.Base| Constructor and Description |
|---|
RawDoubleSet() |
RawDoubleSet(double... xs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDoubleExactly(double x) |
void |
clear() |
boolean |
containsDoubleExactly(double x) |
boolean |
isEmpty() |
DoubleIterator |
iterator() |
boolean |
removeDoubleExactly(double x) |
int |
size() |
equals, hashCodetoStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addDouble, contains, containsAll, create, create, remove, removeAll, retainAll, spliterator, toArray, toArrayaddAllDoubles, addAllDoubles, addDouble, removeIf, toDoubleArraycontainsAllDoubles, containsAllDoubles, containsAllDoublesExactly, containsAllDoublesExactly, containsAnyDoubles, containsAnyDoubles, containsAnyDoublesExactly, containsAnyDoublesExactly, containsDouble, doubleStream, forEach, forEachDouble, from, from, of, once, once, parallelDoubleStream, removeAllDoubles, removeAllDoubles, removeAllDoublesExactly, removeAllDoublesExactly, removeDouble, removeDoublesIf, retainAllDoubles, retainAllDoubles, retainAllDoublesExactly, retainAllDoublesExactly, sequencepublic RawDoubleSet()
public RawDoubleSet(double... xs)
public int size()
size in interface java.util.Collection<java.lang.Double>size in interface java.util.Set<java.lang.Double>public DoubleIterator iterator()
iterator in interface java.lang.Iterable<java.lang.Double>iterator in interface java.util.Collection<java.lang.Double>iterator in interface java.util.Set<java.lang.Double>iterator in interface DoubleIterablepublic boolean isEmpty()
isEmpty in interface java.util.Collection<java.lang.Double>isEmpty in interface java.util.Set<java.lang.Double>isEmpty in interface DoubleCollectionisEmpty in interface DoubleIterableisEmpty in interface DoubleSetpublic void clear()
clear in interface java.util.Collection<java.lang.Double>clear in interface java.util.Set<java.lang.Double>clear in interface DoubleCollectionclear in interface DoubleIterableclear in interface DoubleSetpublic boolean addDoubleExactly(double x)
addDoubleExactly in interface DoubleCollectionDoubleCollection.addDouble(double, double)public boolean removeDoubleExactly(double x)
removeDoubleExactly in interface DoubleIterablepublic boolean containsDoubleExactly(double x)
containsDoubleExactly in interface DoubleIterable