Modul speiger.src.collections
Schnittstelle ByteSortedSet
- Alle Superschnittstellen:
ByteCollection,ByteIterable,ByteSet,Collection<Byte>,ISizeProvider,Iterable<Byte>,Set<Byte>,SortedSet<Byte>
- Alle bekannten Unterschnittstellen:
ByteNavigableSet
- Alle bekannten Implementierungsklassen:
ByteAVLTreeSet,ByteRBTreeSet
A Type Specific SortedSet implementation to reduce boxing/unboxing
with a couple extra methods that allow greater control over sets.
- Note:
- ByteOrderedSet is only extended until 0.6.0 for Compat reasons. The supported classes already implement ByteOrderedSet directly and will remove ByteSortedSet implementations in favor of ByteOrderedSet instead
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.utils.ISizeProvider
ISizeProvider.CollectionSize -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungA Type Specific Comparator methodcopy()A Function that does a shallow clone of the Collection itself.default Bytefirst()Veraltet.byteA method to get the first element in the setheadSet(byte toElement) A Type Specific HeadSet method to reduce boxing/unboxingdefault ByteSortedSetVeraltet.iterator()Returns a Type-Specific Iterator to reduce (un)boxingiterator(byte fromElement) A type Specific Iterator starting from a given keydefault Bytelast()Veraltet.bytelastByte()A method to get the last element in the setbyteA method to get and remove the first element in the setbyteA method to get and remove the last element in the setdefault ByteSplititeratorA Type Specific Type Splititerator to reduce boxing/unboxingsubSet(byte fromElement, byte toElement) A Type Specific SubSet method to reduce boxing/unboxingdefault ByteSortedSetVeraltet.default ByteSortedSetCreates a Wrapped SortedSet that is Synchronizeddefault ByteSortedSetsynchronize(Object mutex) Creates a Wrapped SortedSet that is SynchronizedtailSet(byte fromElement) A Type Specific TailSet method to reduce boxing/unboxingdefault ByteSortedSetVeraltet.default ByteSortedSetCreates a Wrapped SortedSet that is unmodifiableVon Schnittstelle geerbte Methoden speiger.src.collections.bytes.collections.ByteCollection
add, addAll, addAll, addAll, addAll, contains, containsAll, containsAny, containsAny, parallelPrimitiveStream, pour, primitiveStream, remIf, removeAll, removeAll, removeIf, retainAll, retainAll, toByteArray, toByteArrayVon Schnittstelle geerbte Methoden speiger.src.collections.bytes.collections.ByteIterable
arrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEach, forEach, forEachIndexed, limit, map, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, repeat, sortedVon Schnittstelle geerbte Methoden speiger.src.collections.bytes.sets.ByteSet
add, contains, remByte, remove, removeVon Schnittstelle geerbte Methoden java.util.Collection
parallelStream, stream, toArrayVon Schnittstelle geerbte Methoden speiger.src.collections.utils.ISizeProvider
size
-
Methodendetails
-
comparator
ByteComparator comparator()A Type Specific Comparator method- Angegeben von:
comparatorin SchnittstelleSortedSet<Byte>- Gibt zurück:
- the type specific comparator
-
copy
ByteSortedSet copy()Beschreibung aus Schnittstelle kopiert:ByteCollectionA Function that does a shallow clone of the Collection itself. This function is more optimized then a copy constructor since the Collection does not have to be unsorted/resorted. It can be compared to Cloneable but with less exception risk- Angegeben von:
copyin SchnittstelleByteCollection- Angegeben von:
copyin SchnittstelleByteSet- Gibt zurück:
- a Shallow Copy of the collection
-
iterator
ByteBidirectionalIterator iterator()Beschreibung aus Schnittstelle kopiert:ByteCollectionReturns a Type-Specific Iterator to reduce (un)boxing- Angegeben von:
iteratorin SchnittstelleByteCollection- Angegeben von:
iteratorin SchnittstelleByteIterable- Angegeben von:
iteratorin SchnittstelleByteSet- Angegeben von:
iteratorin SchnittstelleCollection<Byte>- Angegeben von:
iteratorin SchnittstelleIterable<Byte>- Angegeben von:
iteratorin SchnittstelleSet<Byte>- Gibt zurück:
- a iterator of the collection
- Siehe auch:
-
iterator
A type Specific Iterator starting from a given key- Parameter:
fromElement- the element the iterator should start from- Gibt zurück:
- a iterator starting from the given element
- Löst aus:
NoSuchElementException- if fromElement isn't found
-
synchronize
Creates a Wrapped SortedSet that is Synchronized- Angegeben von:
synchronizein SchnittstelleByteCollection- Angegeben von:
synchronizein SchnittstelleByteSet- Gibt zurück:
- a new SortedSet that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped SortedSet that is Synchronized- Angegeben von:
synchronizein SchnittstelleByteCollection- Angegeben von:
synchronizein SchnittstelleByteSet- Parameter:
mutex- is the controller of the synchronization block- Gibt zurück:
- a new SortedSet Wrapper that is synchronized
- Siehe auch:
-
unmodifiable
Creates a Wrapped SortedSet that is unmodifiable- Angegeben von:
unmodifiablein SchnittstelleByteCollection- Angegeben von:
unmodifiablein SchnittstelleByteSet- Gibt zurück:
- a new SortedSet Wrapper that is unmodifiable
- Siehe auch:
-
spliterator
A Type Specific Type Splititerator to reduce boxing/unboxing- Angegeben von:
spliteratorin SchnittstelleByteCollection- Angegeben von:
spliteratorin SchnittstelleByteIterable- Angegeben von:
spliteratorin SchnittstelleByteSet- Angegeben von:
spliteratorin SchnittstelleCollection<Byte>- Angegeben von:
spliteratorin SchnittstelleIterable<Byte>- Angegeben von:
spliteratorin SchnittstelleSet<Byte>- Angegeben von:
spliteratorin SchnittstelleSortedSet<Byte>- Gibt zurück:
- type specific splititerator
-
subSet
A Type Specific SubSet method to reduce boxing/unboxing- Parameter:
fromElement- where the SubSet should starttoElement- where the SubSet should end- Gibt zurück:
- a SubSet that is within the range of the desired range
- Note:
- Some implementations may not support this method., Some implementations may not keep the desired range when the original is changed.
-
headSet
A Type Specific HeadSet method to reduce boxing/unboxing- Parameter:
toElement- where the HeadSet should end- Gibt zurück:
- a HeadSet that is within the range of the desired range
- Note:
- Some implementations may not support this method., Some implementations may not keep the desired range when the original is changed.
-
tailSet
A Type Specific TailSet method to reduce boxing/unboxing- Parameter:
fromElement- where the TailSet should start- Gibt zurück:
- a TailSet that is within the range of the desired range
- Note:
- Some implementations may not support this method., Some implementations may not keep the desired range when the original is changed.
-
firstByte
byte firstByte()A method to get the first element in the set- Gibt zurück:
- first element in the set
-
pollFirstByte
byte pollFirstByte()A method to get and remove the first element in the set- Gibt zurück:
- first element in the set
-
lastByte
byte lastByte()A method to get the last element in the set- Gibt zurück:
- last element in the set
-
pollLastByte
byte pollLastByte()A method to get and remove the last element in the set- Gibt zurück:
- last element in the set
-
subSet
Veraltet. -
headSet
Veraltet. -
tailSet
Veraltet. -
first
Veraltet. -
last
Veraltet.
-