public interface IntSortedSet extends IntSet, java.util.SortedSet<java.lang.Integer>
| Modifier and Type | Method and Description |
|---|---|
IntComparator |
comparator()
A Type Specific Comparator method
|
IntSortedSet |
copy()
A Function that does a shallow clone of the Collection itself.
|
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
|
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
|
default IntSortedSet |
synchronize()
Creates a Wrapped SortedSet that is Synchronized
|
default IntSortedSet |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedSet that is Synchronized
|
IntSortedSet |
tailSet(int fromElement)
A Type Specific TailSet method to reduce boxing/unboxing
|
default IntSortedSet |
tailSet(java.lang.Integer fromElement)
Deprecated.
|
default IntSortedSet |
unmodifiable()
Creates a Wrapped SortedSet that is unmodifiable
|
add, contains, remInt, remove, removeadd, addAll, addAll, addAll, addAll, contains, containsAll, containsAny, containsAny, parallelPrimitiveStream, pour, primitiveStream, remIf, removeAll, removeAll, removeIf, retainAll, retainAll, toIntArray, toIntArrayarrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEach, forEach, limit, map, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, sortedIntComparator comparator()
comparator in interface java.util.SortedSet<java.lang.Integer>IntSortedSet copy()
IntCollectioncopy in interface IntCollectioncopy in interface IntSetIntBidirectionalIterator 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 IntSortedSet synchronize()
synchronize in interface IntCollectionsynchronize in interface IntSetIntSets.synchronize(speiger.src.collections.ints.sets.IntSet)default IntSortedSet synchronize(java.lang.Object mutex)
synchronize in interface IntCollectionsynchronize in interface IntSetmutex - is the controller of the synchronization blockIntSets.synchronize(speiger.src.collections.ints.sets.IntSet)default IntSortedSet unmodifiable()
unmodifiable in interface IntCollectionunmodifiable in interface IntSetIntSets.unmodifiable(speiger.src.collections.ints.sets.IntSet)default 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>