public class RawDoubleSet extends java.lang.Object implements DoubleSet
DoubleSet
backed by a BitLongSet
s for raw double values.Constructor and Description |
---|
RawDoubleSet(double... xs) |
Modifier and Type | Method and Description |
---|---|
boolean |
addDouble(double x) |
void |
clear() |
boolean |
containsDoubleExactly(double x) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isEmpty() |
DoubleIterator |
iterator() |
boolean |
removeDoubleExactly(double x) |
int |
size() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, contains, containsAll, remove, removeAll, retainAll, spliterator, toArray, toArray
addAllDoubles, addAllDoubles, removeIf, toDoubleArray
containsAllDoubles, 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, sequence
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 DoubleIterable
public boolean isEmpty()
isEmpty
in interface java.util.Collection<java.lang.Double>
isEmpty
in interface java.util.Set<java.lang.Double>
isEmpty
in interface DoubleCollection
isEmpty
in interface DoubleIterable
isEmpty
in interface DoubleSet
public void clear()
clear
in interface java.util.Collection<java.lang.Double>
clear
in interface java.util.Set<java.lang.Double>
clear
in interface DoubleCollection
clear
in interface DoubleIterable
clear
in interface DoubleSet
public boolean addDouble(double x)
addDouble
in interface DoubleCollection
public boolean removeDoubleExactly(double x)
removeDoubleExactly
in interface DoubleIterable
public boolean containsDoubleExactly(double x)
containsDoubleExactly
in interface DoubleIterable
public java.lang.String toString()
toString
in class java.lang.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