public interface ShortSortedSet extends ShortSet, java.util.SortedSet<java.lang.Short>
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAndMoveToFirst(short o)
A customized add method that allows you to insert into the first index.
|
boolean |
addAndMoveToLast(short o)
A customized add method that allows you to insert into the last index.
|
ShortComparator |
comparator()
A Type Specific Comparator method
|
default java.lang.Short |
first()
Deprecated.
|
short |
firstShort()
A method to get the first element in the set
|
ShortSortedSet |
headSet(short toElement)
A Type Specific HeadSet method to reduce boxing/unboxing
|
default ShortSortedSet |
headSet(java.lang.Short toElement)
Deprecated.
|
ShortBidirectionalIterator |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
ShortBidirectionalIterator |
iterator(short fromElement)
A type Specific Iterator starting from a given key
|
default java.lang.Short |
last()
Deprecated.
|
short |
lastShort()
A method to get the last element in the set
|
boolean |
moveToFirst(short o)
A specific move method to move a given key to the first index.
|
boolean |
moveToLast(short o)
A specific move method to move a given key to the last index.
|
short |
pollFirstShort()
A method to get and remove the first element in the set
|
short |
pollLastShort()
A method to get and remove the last element in the set
|
default ShortSplititerator |
spliterator()
A Type Specific Type Splititerator to reduce boxing/unboxing
|
ShortSortedSet |
subSet(short fromElement,
short toElement)
A Type Specific SubSet method to reduce boxing/unboxing
|
default ShortSortedSet |
subSet(java.lang.Short fromElement,
java.lang.Short toElement)
Deprecated.
|
ShortSortedSet |
tailSet(short fromElement)
A Type Specific TailSet method to reduce boxing/unboxing
|
default ShortSortedSet |
tailSet(java.lang.Short fromElement)
Deprecated.
|
add, contains, remove, remove, remShortadd, addAll, contains, containsAll, containsAny, containsAny, parallelPrimitiveStream, primitiveStream, remIf, removeAll, removeIf, retainAll, toShortArray, toShortArrayforEach, forEachboolean addAndMoveToFirst(short o)
o - the element that should be insertedSet.add(Object)boolean addAndMoveToLast(short o)
o - the element that should be insertedSet.add(Object)boolean moveToFirst(short o)
o - that should be moved to the first indexboolean moveToLast(short o)
o - that should be moved to the first lastShortComparator comparator()
comparator in interface java.util.SortedSet<java.lang.Short>ShortBidirectionalIterator iterator()
ShortCollectioniterator in interface java.util.Collection<java.lang.Short>iterator in interface java.lang.Iterable<java.lang.Short>iterator in interface java.util.Set<java.lang.Short>iterator in interface ShortCollectioniterator in interface ShortIterableiterator in interface ShortSetCollection.iterator()ShortBidirectionalIterator iterator(short fromElement)
fromElement - the element the iterator should start fromjava.util.NoSuchElementException - if fromElement isn't founddefault ShortSplititerator spliterator()
spliterator in interface java.util.Collection<java.lang.Short>spliterator in interface java.lang.Iterable<java.lang.Short>spliterator in interface java.util.Set<java.lang.Short>spliterator in interface ShortCollectionspliterator in interface ShortIterablespliterator in interface ShortSetspliterator in interface java.util.SortedSet<java.lang.Short>ShortSortedSet subSet(short fromElement, short toElement)
fromElement - where the SubSet should starttoElement - where the SubSet should endShortSortedSet headSet(short toElement)
toElement - where the HeadSet should endShortSortedSet tailSet(short fromElement)
fromElement - where the TailSet should startshort firstShort()
short pollFirstShort()
short lastShort()
short pollLastShort()
@Deprecated default ShortSortedSet subSet(java.lang.Short fromElement, java.lang.Short toElement)
subSet in interface java.util.SortedSet<java.lang.Short>@Deprecated default ShortSortedSet headSet(java.lang.Short toElement)
headSet in interface java.util.SortedSet<java.lang.Short>@Deprecated default ShortSortedSet tailSet(java.lang.Short fromElement)
tailSet in interface java.util.SortedSet<java.lang.Short>@Deprecated default java.lang.Short first()
first in interface java.util.SortedSet<java.lang.Short>@Deprecated default java.lang.Short last()
last in interface java.util.SortedSet<java.lang.Short>