public interface DoubleSet extends java.util.Set<java.lang.Double>, DoubleCollection
Set
for double
values.Modifier and Type | Interface and Description |
---|---|
static class |
DoubleSet.Base
Base class for
DoubleSet implementations. |
Modifier and Type | Method and Description |
---|---|
default boolean |
add(java.lang.Double x) |
default boolean |
addAll(java.util.Collection<? extends java.lang.Double> c) |
default boolean |
addDouble(double x,
double precision) |
default void |
clear() |
default boolean |
contains(java.lang.Object o) |
default boolean |
containsAll(java.util.Collection<?> c) |
static DoubleSet |
create() |
static DoubleSet |
create(double... xs) |
default boolean |
isEmpty() |
default boolean |
remove(java.lang.Object o) |
default boolean |
removeAll(java.util.Collection<?> c) |
default boolean |
retainAll(java.util.Collection<?> c) |
default java.util.Spliterator.OfDouble |
spliterator() |
default java.lang.Double[] |
toArray() |
default <T> T[] |
toArray(T[] a) |
addAllDoubles, addAllDoubles, addDouble, addDoubleExactly, removeIf, toDoubleArray
containsAllDoubles, containsAllDoubles, containsAllDoublesExactly, containsAllDoublesExactly, containsAnyDoubles, containsAnyDoubles, containsAnyDoublesExactly, containsAnyDoublesExactly, containsDouble, containsDoubleExactly, doubleStream, forEach, forEachDouble, from, from, of, once, once, parallelDoubleStream, removeAllDoubles, removeAllDoubles, removeAllDoublesExactly, removeAllDoublesExactly, removeDouble, removeDoubleExactly, removeDoublesIf, retainAllDoubles, retainAllDoubles, retainAllDoublesExactly, retainAllDoublesExactly, sequence
static DoubleSet create()
DoubleSet
.static DoubleSet create(double... xs)
DoubleSet
with a copy of the given elements.default boolean isEmpty()
isEmpty
in interface java.util.Collection<java.lang.Double>
isEmpty
in interface DoubleCollection
isEmpty
in interface DoubleIterable
isEmpty
in interface java.util.Set<java.lang.Double>
default void clear()
clear
in interface java.util.Collection<java.lang.Double>
clear
in interface DoubleCollection
clear
in interface DoubleIterable
clear
in interface java.util.Set<java.lang.Double>
default boolean add(java.lang.Double x)
add
in interface java.util.Collection<java.lang.Double>
add
in interface DoubleCollection
add
in interface java.util.Set<java.lang.Double>
default boolean addDouble(double x, double precision)
addDouble
in interface DoubleCollection
DoubleCollection.addDoubleExactly(double)
default boolean contains(java.lang.Object o)
contains
in interface java.util.Collection<java.lang.Double>
contains
in interface DoubleCollection
contains
in interface java.util.Set<java.lang.Double>
default boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<java.lang.Double>
remove
in interface DoubleCollection
remove
in interface java.util.Set<java.lang.Double>
default java.lang.Double[] toArray()
toArray
in interface java.util.Collection<java.lang.Double>
toArray
in interface DoubleCollection
toArray
in interface java.util.Set<java.lang.Double>
default <T> T[] toArray(T[] a)
toArray
in interface java.util.Collection<java.lang.Double>
toArray
in interface DoubleCollection
toArray
in interface java.util.Set<java.lang.Double>
default boolean addAll(java.util.Collection<? extends java.lang.Double> c)
addAll
in interface java.util.Collection<java.lang.Double>
addAll
in interface DoubleCollection
addAll
in interface java.util.Set<java.lang.Double>
default boolean containsAll(java.util.Collection<?> c)
containsAll
in interface java.util.Collection<java.lang.Double>
containsAll
in interface DoubleCollection
containsAll
in interface java.util.Set<java.lang.Double>
default boolean removeAll(java.util.Collection<?> c)
removeAll
in interface java.util.Collection<java.lang.Double>
removeAll
in interface DoubleCollection
removeAll
in interface java.util.Set<java.lang.Double>
default boolean retainAll(java.util.Collection<?> c)
retainAll
in interface java.util.Collection<java.lang.Double>
retainAll
in interface DoubleCollection
retainAll
in interface java.util.Set<java.lang.Double>
default java.util.Spliterator.OfDouble spliterator()
spliterator
in interface java.util.Collection<java.lang.Double>
spliterator
in interface DoubleCollection
spliterator
in interface DoubleIterable
spliterator
in interface java.lang.Iterable<java.lang.Double>
spliterator
in interface java.util.Set<java.lang.Double>