public interface DoubleSet extends DoubleCollection, Set<Double>
Set
specialization with double
elements.
Methods, declared in this interface (i. e. not inherited from the superinterfaces), are present only to remove some compile-time ambiguities, they don't have any additional meaning over the specifications from superinterfaces.
DoubleSetFactory
,
@KolobokeSet
Modifier and Type | Method and Description |
---|---|
boolean |
add(Double e)
Deprecated.
Use specialization
DoubleCollection.add(double) instead |
DoubleIterator |
iterator()
Deprecated.
Instead of explicit
iterator() calls, use DoubleCollection.cursor() ;
iterator() is still sensible only as a backing mechanism for Java 5's for-each
statements. |
add, contains, contains, cursor, forEach, forEach, forEachWhile, remove, removeDouble, removeIf, removeIf, toArray, toArray, toArray, toDoubleArray
clear, ensureCapacity, isEmpty, shrink, size, sizeAsLong
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, spliterator, toArray, toArray
parallelStream, stream
@Deprecated boolean add(@Nonnull Double e)
DoubleCollection.add(double)
insteadadd
in interface Collection<Double>
add
in interface DoubleCollection
add
in interface Set<Double>
@Deprecated @Nonnull DoubleIterator iterator()
iterator()
calls, use DoubleCollection.cursor()
;
iterator()
is still sensible only as a backing mechanism for Java 5's for-each
statements.iterator
in interface Collection<Double>
iterator
in interface DoubleCollection
iterator
in interface Iterable<Double>
iterator
in interface Set<Double>