public interface DoubleSortedSet extends DoubleSet, java.util.SortedSet<java.lang.Double>
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAndMoveToFirst(double o)
A customized add method that allows you to insert into the first index.
|
boolean |
addAndMoveToLast(double o)
A customized add method that allows you to insert into the last index.
|
DoubleComparator |
comparator()
A Type Specific Comparator method
|
default java.lang.Double |
first()
Deprecated.
|
double |
firstDouble()
A method to get the first element in the set
|
DoubleSortedSet |
headSet(double toElement)
A Type Specific HeadSet method to reduce boxing/unboxing
|
default DoubleSortedSet |
headSet(java.lang.Double toElement)
Deprecated.
|
DoubleBidirectionalIterator |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
DoubleBidirectionalIterator |
iterator(double fromElement)
A type Specific Iterator starting from a given key
|
default java.lang.Double |
last()
Deprecated.
|
double |
lastDouble()
A method to get the last element in the set
|
boolean |
moveToFirst(double o)
A specific move method to move a given key to the first index.
|
boolean |
moveToLast(double o)
A specific move method to move a given key to the last index.
|
double |
pollFirstDouble()
A method to get and remove the first element in the set
|
double |
pollLastDouble()
A method to get and remove the last element in the set
|
default DoubleSplititerator |
spliterator()
A Type Specific Type Splititerator to reduce boxing/unboxing
|
DoubleSortedSet |
subSet(double fromElement,
double toElement)
A Type Specific SubSet method to reduce boxing/unboxing
|
default DoubleSortedSet |
subSet(java.lang.Double fromElement,
java.lang.Double toElement)
Deprecated.
|
DoubleSortedSet |
tailSet(double fromElement)
A Type Specific TailSet method to reduce boxing/unboxing
|
default DoubleSortedSet |
tailSet(java.lang.Double fromElement)
Deprecated.
|
add, contains, remDouble, remove, removeadd, addAll, contains, containsAll, containsAny, containsAny, parallelPrimitiveStream, primitiveStream, remIf, removeAll, removeIf, retainAll, toDoubleArray, toDoubleArrayforEach, forEachboolean addAndMoveToFirst(double o)
o - the element that should be insertedSet.add(Object)boolean addAndMoveToLast(double o)
o - the element that should be insertedSet.add(Object)boolean moveToFirst(double o)
o - that should be moved to the first indexboolean moveToLast(double o)
o - that should be moved to the first lastDoubleComparator comparator()
comparator in interface java.util.SortedSet<java.lang.Double>DoubleBidirectionalIterator iterator()
DoubleCollectioniterator in interface java.util.Collection<java.lang.Double>iterator in interface DoubleCollectioniterator in interface DoubleIterableiterator in interface DoubleSetiterator in interface java.lang.Iterable<java.lang.Double>iterator in interface java.util.Set<java.lang.Double>Collection.iterator()DoubleBidirectionalIterator iterator(double fromElement)
fromElement - the element the iterator should start fromjava.util.NoSuchElementException - if fromElement isn't founddefault DoubleSplititerator spliterator()
spliterator in interface java.util.Collection<java.lang.Double>spliterator in interface DoubleCollectionspliterator in interface DoubleIterablespliterator in interface DoubleSetspliterator in interface java.lang.Iterable<java.lang.Double>spliterator in interface java.util.Set<java.lang.Double>spliterator in interface java.util.SortedSet<java.lang.Double>DoubleSortedSet subSet(double fromElement, double toElement)
fromElement - where the SubSet should starttoElement - where the SubSet should endDoubleSortedSet headSet(double toElement)
toElement - where the HeadSet should endDoubleSortedSet tailSet(double fromElement)
fromElement - where the TailSet should startdouble firstDouble()
double pollFirstDouble()
double lastDouble()
double pollLastDouble()
@Deprecated default DoubleSortedSet subSet(java.lang.Double fromElement, java.lang.Double toElement)
subSet in interface java.util.SortedSet<java.lang.Double>@Deprecated default DoubleSortedSet headSet(java.lang.Double toElement)
headSet in interface java.util.SortedSet<java.lang.Double>@Deprecated default DoubleSortedSet tailSet(java.lang.Double fromElement)
tailSet in interface java.util.SortedSet<java.lang.Double>@Deprecated default java.lang.Double first()
first in interface java.util.SortedSet<java.lang.Double>@Deprecated default java.lang.Double last()
last in interface java.util.SortedSet<java.lang.Double>