public interface ByteSortedSet extends ByteSet, java.util.SortedSet<java.lang.Byte>
| Modifier and Type | Method and Description |
|---|---|
ByteComparator |
comparator()
A Type Specific Comparator method
|
ByteSortedSet |
copy()
A Function that does a shallow clone of the Collection itself.
|
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
|
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.
|
default ByteSortedSet |
synchronize()
Creates a Wrapped SortedSet that is Synchronized
|
default ByteSortedSet |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedSet that is Synchronized
|
ByteSortedSet |
tailSet(byte fromElement)
A Type Specific TailSet method to reduce boxing/unboxing
|
default ByteSortedSet |
tailSet(java.lang.Byte fromElement)
Deprecated.
|
default ByteSortedSet |
unmodifiable()
Creates a Wrapped SortedSet that is unmodifiable
|
add, contains, remByte, remove, removeadd, addAll, addAll, addAll, addAll, contains, containsAll, containsAny, containsAny, parallelPrimitiveStream, pour, primitiveStream, remIf, removeAll, removeAll, removeIf, retainAll, retainAll, toByteArray, toByteArrayarrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEach, forEach, limit, map, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, sortedByteComparator comparator()
comparator in interface java.util.SortedSet<java.lang.Byte>ByteSortedSet copy()
ByteCollectioncopy in interface ByteCollectioncopy in interface ByteSetByteBidirectionalIterator 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 ByteSortedSet synchronize()
synchronize in interface ByteCollectionsynchronize in interface ByteSetByteSets.synchronize(speiger.src.collections.bytes.sets.ByteSet)default ByteSortedSet synchronize(java.lang.Object mutex)
synchronize in interface ByteCollectionsynchronize in interface ByteSetmutex - is the controller of the synchronization blockByteSets.synchronize(speiger.src.collections.bytes.sets.ByteSet)default ByteSortedSet unmodifiable()
unmodifiable in interface ByteCollectionunmodifiable in interface ByteSetByteSets.unmodifiable(speiger.src.collections.bytes.sets.ByteSet)default 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>