Modul speiger.src.collections
Schnittstelle ShortNavigableSet
- Alle Superschnittstellen:
Collection<Short>,ISizeProvider,Iterable<Short>,NavigableSet<Short>,Set<Short>,ShortCollection,ShortIterable,ShortSet,ShortSortedSet,SortedSet<Short>
- Alle bekannten Implementierungsklassen:
ShortAVLTreeSet,ShortRBTreeSet
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 TypMethodeBeschreibungshortceiling(short key) A Type Specific ceiling method to reduce boxing/unboxing.default ShortVeraltet.copy()A Function that does a shallow clone of the Collection itself.default Shortfirst()Veraltet.shortfloor(short key) A Type Specific floor method to reduce boxing/unboxing.default ShortVeraltet.shortA Helper method to get the max value for SubSets.shortA Helper method to get the min value for SubSets.default ShortNavigableSetheadSet(short toElement) A Type Specific HeadSet method to reduce boxing/unboxingheadSet(short toElement, boolean inclusive) A Type Specific HeadSet method to reduce boxing/unboxingdefault ShortSortedSetVeraltet.default ShortNavigableSetVeraltet.shorthigher(short key) A Type Specific higher method to reduce boxing/unboxing.default ShortVeraltet.iterator()Returns a Type-Specific Iterator to reduce (un)boxingdefault Shortlast()Veraltet.shortlower(short key) A Type Specific lower method to reduce boxing/unboxing.default ShortVeraltet.default ShortVeraltet.default ShortpollLast()Veraltet.voidsetDefaultMaxValue(short e) A Helper method to set the max value for SubSets.voidsetDefaultMinValue(short e) A Helper method to set the min value for SubSets.default ShortSplititeratorA Type Specific Type Splititerator to reduce boxing/unboxingsubSet(short fromElement, boolean fromInclusive, short toElement, boolean toInclusive) A Type Specific SubSet method to reduce boxing/unboxingdefault ShortNavigableSetsubSet(short fromElement, short toElement) A Type Specific SubSet method to reduce boxing/unboxingdefault ShortNavigableSetVeraltet.default ShortSortedSetVeraltet.default ShortNavigableSetCreates a Wrapped NavigableSet that is Synchronizeddefault ShortNavigableSetsynchronize(Object mutex) Creates a Wrapped NavigableSet that is Synchronizeddefault ShortNavigableSettailSet(short fromElement) A Type Specific TailSet method to reduce boxing/unboxingtailSet(short fromElement, boolean inclusive) A Type Specific TailSet method to reduce boxing/unboxingdefault ShortSortedSetVeraltet.default ShortNavigableSetVeraltet.default ShortNavigableSetCreates a Wrapped NavigableSet that is unmodifiableVon Schnittstelle geerbte Methoden java.util.Collection
parallelStream, stream, toArrayVon Schnittstelle geerbte Methoden speiger.src.collections.utils.ISizeProvider
sizeVon Schnittstelle geerbte Methoden java.util.Set
addAll, clear, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, size, toArray, toArrayVon Schnittstelle geerbte Methoden speiger.src.collections.shorts.collections.ShortCollection
add, addAll, addAll, addAll, addAll, contains, containsAll, containsAny, containsAny, parallelPrimitiveStream, pour, primitiveStream, remIf, removeAll, removeAll, removeIf, retainAll, retainAll, toShortArray, toShortArrayVon Schnittstelle geerbte Methoden speiger.src.collections.shorts.collections.ShortIterable
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.shorts.sets.ShortSet
add, contains, remove, remove, remShortVon Schnittstelle geerbte Methoden speiger.src.collections.shorts.sets.ShortSortedSet
comparator, firstShort, iterator, lastShort, pollFirstShort, pollLastShort
-
Methodendetails
-
lower
short lower(short 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
short higher(short 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
short floor(short 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
short ceiling(short 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(short e) A Helper method to set the max value for SubSets. (Default: short.MIN_VALUE)- Parameter:
e- the new max value
-
getDefaultMaxValue
short getDefaultMaxValue()A Helper method to get the max value for SubSets.- Gibt zurück:
- the default max value.
-
setDefaultMinValue
void setDefaultMinValue(short e) A Helper method to set the min value for SubSets. (Default: short.MAX_VALUE)- Parameter:
e- the new min value
-
getDefaultMinValue
short getDefaultMinValue()A Helper method to get the min value for SubSets.- Gibt zurück:
- the default min value.
-
subSet
Beschreibung aus Schnittstelle kopiert:ShortSortedSetA Type Specific SubSet method to reduce boxing/unboxing- Angegeben von:
subSetin SchnittstelleShortSortedSet- 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:ShortSortedSetA Type Specific HeadSet method to reduce boxing/unboxing- Angegeben von:
headSetin SchnittstelleShortSortedSet- 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:ShortSortedSetA Type Specific TailSet method to reduce boxing/unboxing- Angegeben von:
tailSetin SchnittstelleShortSortedSet- Parameter:
fromElement- where the TailSet should start- Gibt zurück:
- a TailSet that is within the range of the desired range
-
subSet
ShortNavigableSet subSet(short fromElement, boolean fromInclusive, short 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
ShortBidirectionalIterator iterator()Beschreibung aus Schnittstelle kopiert:ShortCollectionReturns a Type-Specific Iterator to reduce (un)boxing- Angegeben von:
iteratorin SchnittstelleCollection<Short>- Angegeben von:
iteratorin SchnittstelleIterable<Short>- Angegeben von:
iteratorin SchnittstelleNavigableSet<Short>- Angegeben von:
iteratorin SchnittstelleSet<Short>- Angegeben von:
iteratorin SchnittstelleShortCollection- Angegeben von:
iteratorin SchnittstelleShortIterable- Angegeben von:
iteratorin SchnittstelleShortSet- Angegeben von:
iteratorin SchnittstelleShortSortedSet- Gibt zurück:
- a Type Specific iterator
- Siehe auch:
-
descendingIterator
ShortBidirectionalIterator descendingIterator()- Angegeben von:
descendingIteratorin SchnittstelleNavigableSet<Short>- Gibt zurück:
- a Type Specific desendingIterator
-
descendingSet
ShortNavigableSet descendingSet()- Angegeben von:
descendingSetin SchnittstelleNavigableSet<Short>- Gibt zurück:
- a Type Specific desendingSet
-
copy
ShortNavigableSet copy()Beschreibung aus Schnittstelle kopiert:ShortCollectionA 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 SchnittstelleShortCollection- Angegeben von:
copyin SchnittstelleShortSet- Angegeben von:
copyin SchnittstelleShortSortedSet- Gibt zurück:
- a Shallow Copy of the collection
-
synchronize
Creates a Wrapped NavigableSet that is Synchronized- Angegeben von:
synchronizein SchnittstelleShortCollection- Angegeben von:
synchronizein SchnittstelleShortSet- Angegeben von:
synchronizein SchnittstelleShortSortedSet- Gibt zurück:
- a new NavigableSet that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped NavigableSet that is Synchronized- Angegeben von:
synchronizein SchnittstelleShortCollection- Angegeben von:
synchronizein SchnittstelleShortSet- Angegeben von:
synchronizein SchnittstelleShortSortedSet- 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 SchnittstelleShortCollection- Angegeben von:
unmodifiablein SchnittstelleShortSet- Angegeben von:
unmodifiablein SchnittstelleShortSortedSet- 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 SchnittstelleCollection<Short>- Angegeben von:
spliteratorin SchnittstelleIterable<Short>- Angegeben von:
spliteratorin SchnittstelleSet<Short>- Angegeben von:
spliteratorin SchnittstelleShortCollection- Angegeben von:
spliteratorin SchnittstelleShortIterable- Angegeben von:
spliteratorin SchnittstelleShortSet- Angegeben von:
spliteratorin SchnittstelleShortSortedSet- Angegeben von:
spliteratorin SchnittstelleSortedSet<Short>- Gibt zurück:
- type specific splititerator
-
lower
Veraltet.- Angegeben von:
lowerin SchnittstelleNavigableSet<Short>
-
floor
Veraltet.- Angegeben von:
floorin SchnittstelleNavigableSet<Short>
-
ceiling
Veraltet.- Angegeben von:
ceilingin SchnittstelleNavigableSet<Short>
-
higher
Veraltet.- Angegeben von:
higherin SchnittstelleNavigableSet<Short>
-
first
Veraltet.- Angegeben von:
firstin SchnittstelleShortSortedSet- Angegeben von:
firstin SchnittstelleSortedSet<Short>
-
last
Veraltet.- Angegeben von:
lastin SchnittstelleShortSortedSet- Angegeben von:
lastin SchnittstelleSortedSet<Short>
-
pollFirst
Veraltet.- Angegeben von:
pollFirstin SchnittstelleNavigableSet<Short>
-
pollLast
Veraltet.- Angegeben von:
pollLastin SchnittstelleNavigableSet<Short>
-
subSet
@Deprecated default ShortNavigableSet subSet(Short fromElement, boolean fromInclusive, Short toElement, boolean toInclusive) Veraltet.- Angegeben von:
subSetin SchnittstelleNavigableSet<Short>
-
headSet
Veraltet.- Angegeben von:
headSetin SchnittstelleNavigableSet<Short>
-
tailSet
Veraltet.- Angegeben von:
tailSetin SchnittstelleNavigableSet<Short>
-
subSet
Veraltet.- Angegeben von:
subSetin SchnittstelleNavigableSet<Short>- Angegeben von:
subSetin SchnittstelleShortSortedSet- Angegeben von:
subSetin SchnittstelleSortedSet<Short>
-
headSet
Veraltet.- Angegeben von:
headSetin SchnittstelleNavigableSet<Short>- Angegeben von:
headSetin SchnittstelleShortSortedSet- Angegeben von:
headSetin SchnittstelleSortedSet<Short>
-
tailSet
Veraltet.- Angegeben von:
tailSetin SchnittstelleNavigableSet<Short>- Angegeben von:
tailSetin SchnittstelleShortSortedSet- Angegeben von:
tailSetin SchnittstelleSortedSet<Short>
-