public interface IntSortedSet extends IntSet, java.util.SortedSet<java.lang.Integer>
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAndMoveToFirst(int o)
A customized add method that allows you to insert into the first index.
|
boolean |
addAndMoveToLast(int o)
A customized add method that allows you to insert into the last index.
|
IntComparator |
comparator()
A Type Specific Comparator method
|
default java.lang.Integer |
first()
Deprecated.
|
int |
firstInt()
A method to get the first element in the set
|
IntSortedSet |
headSet(int toElement)
A Type Specific HeadSet method to reduce boxing/unboxing
|
default IntSortedSet |
headSet(java.lang.Integer toElement)
Deprecated.
|
IntBidirectionalIterator |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
IntBidirectionalIterator |
iterator(int fromElement)
A type Specific Iterator starting from a given key
|
default java.lang.Integer |
last()
Deprecated.
|
int |
lastInt()
A method to get the last element in the set
|
boolean |
moveToFirst(int o)
A specific move method to move a given key to the first index.
|
boolean |
moveToLast(int o)
A specific move method to move a given key to the last index.
|
int |
pollFirstInt()
A method to get and remove the first element in the set
|
int |
pollLastInt()
A method to get and remove the last element in the set
|
default IntSplititerator |
spliterator()
A Type Specific Type Splititerator to reduce boxing/unboxing
|
default IntSortedSet |
subSet(java.lang.Integer fromElement,
java.lang.Integer toElement)
Deprecated.
|
IntSortedSet |
subSet(int fromElement,
int toElement)
A Type Specific SubSet method to reduce boxing/unboxing
|
IntSortedSet |
tailSet(int fromElement)
A Type Specific TailSet method to reduce boxing/unboxing
|
default IntSortedSet |
tailSet(java.lang.Integer fromElement)
Deprecated.
|
add, contains, remInt, remove, removeadd, addAll, contains, containsAll, containsAny, containsAny, parallelPrimitiveStream, primitiveStream, remIf, removeAll, removeIf, retainAll, toIntArray, toIntArrayforEach, forEachboolean addAndMoveToFirst(int o)
o - the element that should be insertedSet.add(Object)boolean addAndMoveToLast(int o)
o - the element that should be insertedSet.add(Object)boolean moveToFirst(int o)
o - that should be moved to the first indexboolean moveToLast(int o)
o - that should be moved to the first lastIntComparator comparator()
comparator in interface java.util.SortedSet<java.lang.Integer>IntBidirectionalIterator iterator()
IntCollectioniterator in interface java.util.Collection<java.lang.Integer>iterator in interface IntCollectioniterator in interface IntIterableiterator in interface IntSetiterator in interface java.lang.Iterable<java.lang.Integer>iterator in interface java.util.Set<java.lang.Integer>Collection.iterator()IntBidirectionalIterator iterator(int fromElement)
fromElement - the element the iterator should start fromjava.util.NoSuchElementException - if fromElement isn't founddefault IntSplititerator spliterator()
spliterator in interface java.util.Collection<java.lang.Integer>spliterator in interface IntCollectionspliterator in interface IntIterablespliterator in interface IntSetspliterator in interface java.lang.Iterable<java.lang.Integer>spliterator in interface java.util.Set<java.lang.Integer>spliterator in interface java.util.SortedSet<java.lang.Integer>IntSortedSet subSet(int fromElement, int toElement)
fromElement - where the SubSet should starttoElement - where the SubSet should endIntSortedSet headSet(int toElement)
toElement - where the HeadSet should endIntSortedSet tailSet(int fromElement)
fromElement - where the TailSet should startint firstInt()
int pollFirstInt()
int lastInt()
int pollLastInt()
@Deprecated default IntSortedSet subSet(java.lang.Integer fromElement, java.lang.Integer toElement)
subSet in interface java.util.SortedSet<java.lang.Integer>@Deprecated default IntSortedSet headSet(java.lang.Integer toElement)
headSet in interface java.util.SortedSet<java.lang.Integer>@Deprecated default IntSortedSet tailSet(java.lang.Integer fromElement)
tailSet in interface java.util.SortedSet<java.lang.Integer>@Deprecated default java.lang.Integer first()
first in interface java.util.SortedSet<java.lang.Integer>@Deprecated default java.lang.Integer last()
last in interface java.util.SortedSet<java.lang.Integer>