public interface ByteSortedSet extends ByteSet, java.util.SortedSet<java.lang.Byte>
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAndMoveToFirst(byte o)
A customized add method that allows you to insert into the first index.
|
boolean |
addAndMoveToLast(byte o)
A customized add method that allows you to insert into the last index.
|
ByteComparator |
comparator()
A Type Specific Comparator method
|
default java.lang.Byte |
first()
Deprecated.
|
byte |
firstByte()
A method to get the first element in the set
|
ByteSortedSet |
headSet(byte toElement)
A Type Specific HeadSet method to reduce boxing/unboxing
|
default ByteSortedSet |
headSet(java.lang.Byte toElement)
Deprecated.
|
ByteBidirectionalIterator |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
ByteBidirectionalIterator |
iterator(byte fromElement)
A type Specific Iterator starting from a given key
|
default java.lang.Byte |
last()
Deprecated.
|
byte |
lastByte()
A method to get the last element in the set
|
boolean |
moveToFirst(byte o)
A specific move method to move a given key to the first index.
|
boolean |
moveToLast(byte o)
A specific move method to move a given key to the last index.
|
byte |
pollFirstByte()
A method to get and remove the first element in the set
|
byte |
pollLastByte()
A method to get and remove the last element in the set
|
default ByteSplititerator |
spliterator()
A Type Specific Type Splititerator to reduce boxing/unboxing
|
ByteSortedSet |
subSet(byte fromElement,
byte toElement)
A Type Specific SubSet method to reduce boxing/unboxing
|
default ByteSortedSet |
subSet(java.lang.Byte fromElement,
java.lang.Byte toElement)
Deprecated.
|
ByteSortedSet |
tailSet(byte fromElement)
A Type Specific TailSet method to reduce boxing/unboxing
|
default ByteSortedSet |
tailSet(java.lang.Byte fromElement)
Deprecated.
|
add, contains, remByte, remove, removeadd, addAll, contains, containsAll, containsAny, containsAny, parallelPrimitiveStream, primitiveStream, remIf, removeAll, removeIf, retainAll, toByteArray, toByteArrayforEach, forEachboolean addAndMoveToFirst(byte o)
o - the element that should be insertedSet.add(Object)boolean addAndMoveToLast(byte o)
o - the element that should be insertedSet.add(Object)boolean moveToFirst(byte o)
o - that should be moved to the first indexboolean moveToLast(byte o)
o - that should be moved to the first lastByteComparator comparator()
comparator in interface java.util.SortedSet<java.lang.Byte>ByteBidirectionalIterator iterator()
ByteCollectioniterator in interface ByteCollectioniterator in interface ByteIterableiterator in interface ByteSetiterator in interface java.util.Collection<java.lang.Byte>iterator in interface java.lang.Iterable<java.lang.Byte>iterator in interface java.util.Set<java.lang.Byte>Collection.iterator()ByteBidirectionalIterator iterator(byte fromElement)
fromElement - the element the iterator should start fromjava.util.NoSuchElementException - if fromElement isn't founddefault ByteSplititerator spliterator()
spliterator in interface ByteCollectionspliterator in interface ByteIterablespliterator in interface ByteSetspliterator in interface java.util.Collection<java.lang.Byte>spliterator in interface java.lang.Iterable<java.lang.Byte>spliterator in interface java.util.Set<java.lang.Byte>spliterator in interface java.util.SortedSet<java.lang.Byte>ByteSortedSet subSet(byte fromElement, byte toElement)
fromElement - where the SubSet should starttoElement - where the SubSet should endByteSortedSet headSet(byte toElement)
toElement - where the HeadSet should endByteSortedSet tailSet(byte fromElement)
fromElement - where the TailSet should startbyte firstByte()
byte pollFirstByte()
byte lastByte()
byte pollLastByte()
@Deprecated default ByteSortedSet subSet(java.lang.Byte fromElement, java.lang.Byte toElement)
subSet in interface java.util.SortedSet<java.lang.Byte>@Deprecated default ByteSortedSet headSet(java.lang.Byte toElement)
headSet in interface java.util.SortedSet<java.lang.Byte>@Deprecated default ByteSortedSet tailSet(java.lang.Byte fromElement)
tailSet in interface java.util.SortedSet<java.lang.Byte>@Deprecated default java.lang.Byte first()
first in interface java.util.SortedSet<java.lang.Byte>@Deprecated default java.lang.Byte last()
last in interface java.util.SortedSet<java.lang.Byte>