Modul speiger.src.collections
Schnittstelle ByteNavigableSet
- Alle Superschnittstellen:
ByteCollection,ByteIterable,ByteSet,ByteSortedSet,Collection<Byte>,ISizeProvider,Iterable<Byte>,NavigableSet<Byte>,Set<Byte>,SortedSet<Byte>
- Alle bekannten Implementierungsklassen:
ByteAVLTreeSet,ByteRBTreeSet
A Type Specific Navigable Set interface with a couple helper methods
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.utils.ISizeProvider
ISizeProvider.CollectionSize -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbyteceiling(byte key) A Type Specific ceiling method to reduce boxing/unboxing.default ByteVeraltet.copy()A Function that does a shallow clone of the Collection itself.default Bytefirst()Veraltet.bytefloor(byte key) A Type Specific floor method to reduce boxing/unboxing.default ByteVeraltet.byteA Helper method to get the max value for SubSets.byteA Helper method to get the min value for SubSets.default ByteNavigableSetheadSet(byte toElement) A Type Specific HeadSet method to reduce boxing/unboxingheadSet(byte toElement, boolean inclusive) A Type Specific HeadSet method to reduce boxing/unboxingdefault ByteSortedSetVeraltet.default ByteNavigableSetVeraltet.bytehigher(byte key) A Type Specific higher method to reduce boxing/unboxing.default ByteVeraltet.iterator()Returns a Type-Specific Iterator to reduce (un)boxingdefault Bytelast()Veraltet.bytelower(byte key) A Type Specific lower method to reduce boxing/unboxing.default ByteVeraltet.default ByteVeraltet.default BytepollLast()Veraltet.voidsetDefaultMaxValue(byte e) A Helper method to set the max value for SubSets.voidsetDefaultMinValue(byte e) A Helper method to set the min value for SubSets.default ByteSplititeratorA Type Specific Type Splititerator to reduce boxing/unboxingsubSet(byte fromElement, boolean fromInclusive, byte toElement, boolean toInclusive) A Type Specific SubSet method to reduce boxing/unboxingdefault ByteNavigableSetsubSet(byte fromElement, byte toElement) A Type Specific SubSet method to reduce boxing/unboxingdefault ByteNavigableSetVeraltet.default ByteSortedSetVeraltet.default ByteNavigableSetCreates a Wrapped NavigableSet that is Synchronizeddefault ByteNavigableSetsynchronize(Object mutex) Creates a Wrapped NavigableSet that is Synchronizeddefault ByteNavigableSettailSet(byte fromElement) A Type Specific TailSet method to reduce boxing/unboxingtailSet(byte fromElement, boolean inclusive) A Type Specific TailSet method to reduce boxing/unboxingdefault ByteSortedSetVeraltet.default ByteNavigableSetVeraltet.default ByteNavigableSetCreates a Wrapped NavigableSet 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 speiger.src.collections.bytes.sets.ByteSortedSet
comparator, firstByte, iterator, lastByte, pollFirstByte, pollLastByteVon Schnittstelle geerbte Methoden java.util.Collection
parallelStream, stream, toArrayVon Schnittstelle geerbte Methoden speiger.src.collections.utils.ISizeProvider
size
-
Methodendetails
-
lower
byte lower(byte key) A Type Specific lower method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower key that can be found
-
higher
byte higher(byte key) A Type Specific higher method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher key that can be found
-
floor
byte floor(byte key) A Type Specific floor method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower or equal key that can be found
-
ceiling
byte ceiling(byte key) A Type Specific ceiling method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher or equal key that can be found
-
setDefaultMaxValue
void setDefaultMaxValue(byte e) A Helper method to set the max value for SubSets. (Default: byte.MIN_VALUE)- Parameter:
e- the new max value
-
getDefaultMaxValue
byte getDefaultMaxValue()A Helper method to get the max value for SubSets.- Gibt zurück:
- the default max value.
-
setDefaultMinValue
void setDefaultMinValue(byte e) A Helper method to set the min value for SubSets. (Default: byte.MAX_VALUE)- Parameter:
e- the new min value
-
getDefaultMinValue
byte getDefaultMinValue()A Helper method to get the min value for SubSets.- Gibt zurück:
- the default min value.
-
subSet
Beschreibung aus Schnittstelle kopiert:ByteSortedSetA Type Specific SubSet method to reduce boxing/unboxing- Angegeben von:
subSetin SchnittstelleByteSortedSet- 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
-
headSet
Beschreibung aus Schnittstelle kopiert:ByteSortedSetA Type Specific HeadSet method to reduce boxing/unboxing- Angegeben von:
headSetin SchnittstelleByteSortedSet- Parameter:
toElement- where the HeadSet should end- Gibt zurück:
- a HeadSet that is within the range of the desired range
-
tailSet
Beschreibung aus Schnittstelle kopiert:ByteSortedSetA Type Specific TailSet method to reduce boxing/unboxing- Angegeben von:
tailSetin SchnittstelleByteSortedSet- Parameter:
fromElement- where the TailSet should start- Gibt zurück:
- a TailSet that is within the range of the desired range
-
subSet
ByteNavigableSet subSet(byte fromElement, boolean fromInclusive, byte toElement, boolean toInclusive) A Type Specific SubSet method to reduce boxing/unboxing- Parameter:
fromElement- where the SubSet should startfromInclusive- if the fromElement is inclusive or nottoElement- where the SubSet should endtoInclusive- if the toElement is inclusive or not- Gibt zurück:
- a SubSet that is within the range of the desired range
-
headSet
A Type Specific HeadSet method to reduce boxing/unboxing- Parameter:
toElement- where the HeadSet should endinclusive- if the toElement is inclusive or not- Gibt zurück:
- a HeadSet that is within the range of the desired range
-
tailSet
A Type Specific TailSet method to reduce boxing/unboxing- Parameter:
fromElement- where the TailSet should startinclusive- if the fromElement is inclusive or not- Gibt zurück:
- a TailSet that is within the range of the desired range
-
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 SchnittstelleByteSortedSet- Angegeben von:
iteratorin SchnittstelleCollection<Byte>- Angegeben von:
iteratorin SchnittstelleIterable<Byte>- Angegeben von:
iteratorin SchnittstelleNavigableSet<Byte>- Angegeben von:
iteratorin SchnittstelleSet<Byte>- Gibt zurück:
- a Type Specific iterator
- Siehe auch:
-
descendingIterator
ByteBidirectionalIterator descendingIterator()- Angegeben von:
descendingIteratorin SchnittstelleNavigableSet<Byte>- Gibt zurück:
- a Type Specific desendingIterator
-
descendingSet
ByteNavigableSet descendingSet()- Angegeben von:
descendingSetin SchnittstelleNavigableSet<Byte>- Gibt zurück:
- a Type Specific desendingSet
-
copy
ByteNavigableSet 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- Angegeben von:
copyin SchnittstelleByteSortedSet- Gibt zurück:
- a Shallow Copy of the collection
-
synchronize
Creates a Wrapped NavigableSet that is Synchronized- Angegeben von:
synchronizein SchnittstelleByteCollection- Angegeben von:
synchronizein SchnittstelleByteSet- Angegeben von:
synchronizein SchnittstelleByteSortedSet- Gibt zurück:
- a new NavigableSet that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped NavigableSet that is Synchronized- Angegeben von:
synchronizein SchnittstelleByteCollection- Angegeben von:
synchronizein SchnittstelleByteSet- Angegeben von:
synchronizein SchnittstelleByteSortedSet- Parameter:
mutex- is the controller of the synchronization block- Gibt zurück:
- a new NavigableSet Wrapper that is synchronized
- Siehe auch:
-
unmodifiable
Creates a Wrapped NavigableSet that is unmodifiable- Angegeben von:
unmodifiablein SchnittstelleByteCollection- Angegeben von:
unmodifiablein SchnittstelleByteSet- Angegeben von:
unmodifiablein SchnittstelleByteSortedSet- Gibt zurück:
- a new NavigableSet 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 SchnittstelleByteSortedSet- 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
-
lower
Veraltet.- Angegeben von:
lowerin SchnittstelleNavigableSet<Byte>
-
floor
Veraltet.- Angegeben von:
floorin SchnittstelleNavigableSet<Byte>
-
ceiling
Veraltet.- Angegeben von:
ceilingin SchnittstelleNavigableSet<Byte>
-
higher
Veraltet.- Angegeben von:
higherin SchnittstelleNavigableSet<Byte>
-
first
Veraltet.- Angegeben von:
firstin SchnittstelleByteSortedSet- Angegeben von:
firstin SchnittstelleSortedSet<Byte>
-
last
Veraltet.- Angegeben von:
lastin SchnittstelleByteSortedSet- Angegeben von:
lastin SchnittstelleSortedSet<Byte>
-
pollFirst
Veraltet.- Angegeben von:
pollFirstin SchnittstelleNavigableSet<Byte>
-
pollLast
Veraltet.- Angegeben von:
pollLastin SchnittstelleNavigableSet<Byte>
-
subSet
@Deprecated default ByteNavigableSet subSet(Byte fromElement, boolean fromInclusive, Byte toElement, boolean toInclusive) Veraltet.- Angegeben von:
subSetin SchnittstelleNavigableSet<Byte>
-
headSet
Veraltet.- Angegeben von:
headSetin SchnittstelleNavigableSet<Byte>
-
tailSet
Veraltet.- Angegeben von:
tailSetin SchnittstelleNavigableSet<Byte>
-
subSet
Veraltet.- Angegeben von:
subSetin SchnittstelleByteSortedSet- Angegeben von:
subSetin SchnittstelleNavigableSet<Byte>- Angegeben von:
subSetin SchnittstelleSortedSet<Byte>
-
headSet
Veraltet.- Angegeben von:
headSetin SchnittstelleByteSortedSet- Angegeben von:
headSetin SchnittstelleNavigableSet<Byte>- Angegeben von:
headSetin SchnittstelleSortedSet<Byte>
-
tailSet
Veraltet.- Angegeben von:
tailSetin SchnittstelleByteSortedSet- Angegeben von:
tailSetin SchnittstelleNavigableSet<Byte>- Angegeben von:
tailSetin SchnittstelleSortedSet<Byte>
-