Modul speiger.src.collections
Schnittstelle Short2IntNavigableMap
- Alle Superschnittstellen:
Map<Short,,Integer> NavigableMap<Short,,Integer> Short2IntFunction,Short2IntMap,Short2IntSortedMap,SortedMap<Short,Integer>
- Alle bekannten Implementierungsklassen:
Short2IntAVLTreeMap,Short2IntMaps.SynchronizedNavigableMap,Short2IntMaps.UnmodifyableNavigableMap,Short2IntRBTreeMap
A Type Specific Navigable Map interface with a couple helper methods
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.shorts.maps.interfaces.Short2IntMap
Short2IntMap.BuilderCache, Short2IntMap.Entry, Short2IntMap.FastEntrySet, Short2IntMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.shorts.maps.interfaces.Short2IntSortedMap
Short2IntSortedMap.FastSortedSet -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungceilingEntry(short key) A Type Specific ceilingEntry method to reduce boxing/unboxing.default Short2IntMap.EntryceilingEntry(Short key) Veraltet.shortceilingKey(short key) A Type Specific ceilingKey method to reduce boxing/unboxing.default ShortceilingKey(Short key) Veraltet.copy()A Function that does a shallow clone of the Map itself.floorEntry(short key) A Type Specific floorEntry method to reduce boxing/unboxing.default Short2IntMap.EntryfloorEntry(Short key) Veraltet.shortfloorKey(short key) A Type Specific floorKey method to reduce boxing/unboxing.default ShortVeraltet.shortA Helper method to get the max value for SubMaps.shortA Helper method to get the min value for SubMaps.default Short2IntNavigableMapheadMap(short toKey) A Type Specific HeadMap method to reduce boxing/unboxingheadMap(short toKey, boolean inclusive) A Type Specific HeadMap method to reduce boxing/unboxingdefault Short2IntNavigableMapVeraltet.default Short2IntNavigableMapVeraltet.higherEntry(short key) A Type Specific higherEntry method to reduce boxing/unboxing.default Short2IntMap.EntryhigherEntry(Short key) Veraltet.shorthigherKey(short key) A Type Specific higherKey method to reduce boxing/unboxing.default ShortVeraltet.keySet()lowerEntry(short key) A Type Specific lowerEntry method to reduce boxing/unboxing.default Short2IntMap.EntrylowerEntry(Short key) Veraltet.shortlowerKey(short key) A Type Specific lowerKey method to reduce boxing/unboxing.default ShortVeraltet.voidsetDefaultMaxValue(short e) A Helper method to set the max value for SubMaps.voidsetDefaultMinValue(short e) A Helper method to set the min value for SubMaps.subMap(short fromKey, boolean fromInclusive, short toKey, boolean toInclusive) A Type Specific SubMap method to reduce boxing/unboxingdefault Short2IntNavigableMapsubMap(short fromKey, short toKey) A Type Specific SubMap method to reduce boxing/unboxingdefault Short2IntNavigableMapVeraltet.default Short2IntNavigableMapVeraltet.default Short2IntNavigableMapCreates a Wrapped NavigableMap that is Synchronizeddefault Short2IntNavigableMapsynchronize(Object mutex) Creates a Wrapped NavigableMap that is Synchronizeddefault Short2IntNavigableMaptailMap(short fromKey) A Type Specific TailMap method to reduce boxing/unboxingtailMap(short fromKey, boolean inclusive) A Type Specific TailMap method to reduce boxing/unboxingdefault Short2IntNavigableMapVeraltet.default Short2IntNavigableMapVeraltet.default Short2IntNavigableMapCreates a Wrapped NavigableMap that is unmodifiableVon Schnittstelle geerbte Methoden speiger.src.collections.shorts.maps.interfaces.Short2IntMap
addTo, addToAll, applyAsInt, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfAbsentNonDefault, computeIntIfPresent, computeIntIfPresentNonDefault, computeIntNonDefault, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllInt, mergeInt, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValue, short2IntEntrySet, subFrom, supplyIntIfAbsent, supplyIntIfAbsentNonDefaultVon Schnittstelle geerbte Methoden speiger.src.collections.shorts.maps.interfaces.Short2IntSortedMap
comparator, firstIntValue, firstKey, firstShortKey, lastIntValue, lastKey, lastShortKey, pollFirstShortKey, pollLastShortKey, values
-
Methodendetails
-
copy
Short2IntNavigableMap copy()Beschreibung aus Schnittstelle kopiert:Short2IntMapA Function that does a shallow clone of the Map itself. This function is more optimized then a copy constructor since the Map does not have to be unsorted/resorted. It can be compared to Cloneable but with less exception risk- Angegeben von:
copyin SchnittstelleShort2IntMap- Angegeben von:
copyin SchnittstelleShort2IntSortedMap- Gibt zurück:
- a Shallow Copy of the Map
-
descendingMap
Short2IntNavigableMap descendingMap()- Angegeben von:
descendingMapin SchnittstelleNavigableMap<Short,Integer> - Gibt zurück:
- a Type Specific desendingMap
-
descendingKeySet
ShortNavigableSet descendingKeySet()- Angegeben von:
descendingKeySetin SchnittstelleNavigableMap<Short,Integer> - Gibt zurück:
- a Type Specific Desending Key Set
-
firstEntry
Short2IntMap.Entry firstEntry()- Angegeben von:
firstEntryin SchnittstelleNavigableMap<Short,Integer> - Gibt zurück:
- a Type Specific firstEntry
-
lastEntry
Short2IntMap.Entry lastEntry()- Angegeben von:
lastEntryin SchnittstelleNavigableMap<Short,Integer> - Gibt zurück:
- a Type Specific lastEntry
-
pollFirstEntry
Short2IntMap.Entry pollFirstEntry()- Angegeben von:
pollFirstEntryin SchnittstelleNavigableMap<Short,Integer> - Gibt zurück:
- a Type Specific pollFirstEntry
-
pollLastEntry
Short2IntMap.Entry pollLastEntry()- Angegeben von:
pollLastEntryin SchnittstelleNavigableMap<Short,Integer> - Gibt zurück:
- a Type Specific pollLastEntry
-
keySet
ShortNavigableSet keySet() -
synchronize
Creates a Wrapped NavigableMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleShort2IntMap- Angegeben von:
synchronizein SchnittstelleShort2IntSortedMap- Gibt zurück:
- a new NavigableMap that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped NavigableMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleShort2IntMap- Angegeben von:
synchronizein SchnittstelleShort2IntSortedMap- Parameter:
mutex- is the controller of the synchronization block- Gibt zurück:
- a new NavigableMap Wrapper that is synchronized
- Siehe auch:
-
unmodifiable
Creates a Wrapped NavigableMap that is unmodifiable- Angegeben von:
unmodifiablein SchnittstelleShort2IntMap- Angegeben von:
unmodifiablein SchnittstelleShort2IntSortedMap- Gibt zurück:
- a new NavigableMap Wrapper that is unmodifiable
- Siehe auch:
-
subMap
Short2IntNavigableMap subMap(short fromKey, boolean fromInclusive, short toKey, boolean toInclusive) A Type Specific SubMap method to reduce boxing/unboxing- Parameter:
fromKey- where the submap should startfromInclusive- if the fromKey is inclusive or nottoKey- where the subMap should endtoInclusive- if the toKey is inclusive or not- Gibt zurück:
- a SubMap that is within the range of the desired range
-
headMap
A Type Specific HeadMap method to reduce boxing/unboxing- Parameter:
toKey- where the HeadMap should endinclusive- if the toKey is inclusive or not- Gibt zurück:
- a HeadMap that is within the range of the desired range
-
tailMap
A Type Specific TailMap method to reduce boxing/unboxing- Parameter:
fromKey- where the TailMap should startinclusive- if the fromKey is inclusive or not- Gibt zurück:
- a TailMap that is within the range of the desired range
-
subMap
Beschreibung aus Schnittstelle kopiert:Short2IntSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleShort2IntSortedMap- Parameter:
fromKey- where the submap should starttoKey- where the subMap should end- Gibt zurück:
- a SubMap that is within the range of the desired range
-
headMap
Beschreibung aus Schnittstelle kopiert:Short2IntSortedMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleShort2IntSortedMap- Parameter:
toKey- where the headMap should end- Gibt zurück:
- a HeadMap that is within the range of the desired range
-
tailMap
Beschreibung aus Schnittstelle kopiert:Short2IntSortedMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleShort2IntSortedMap- Parameter:
fromKey- where the TailMap should start- Gibt zurück:
- a TailMap that is within the range of the desired range
-
setDefaultMaxValue
void setDefaultMaxValue(short e) A Helper method to set the max value for SubMaps. (Default: short.MIN_VALUE)- Parameter:
e- the new max value
-
getDefaultMaxValue
short getDefaultMaxValue()A Helper method to get the max value for SubMaps.- Gibt zurück:
- the default max value.
-
setDefaultMinValue
void setDefaultMinValue(short e) A Helper method to set the min value for SubMaps. (Default: short.MAX_VALUE)- Parameter:
e- the new min value
-
getDefaultMinValue
short getDefaultMinValue()A Helper method to get the min value for SubMaps.- Gibt zurück:
- the default min value.
-
lowerKey
short lowerKey(short key) A Type Specific lowerKey method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower key that can be found
-
higherKey
short higherKey(short key) A Type Specific higherKey method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher key that can be found
-
floorKey
short floorKey(short key) A Type Specific floorKey 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
-
ceilingKey
short ceilingKey(short key) A Type Specific ceilingKey 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
-
lowerEntry
A Type Specific lowerEntry method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower entry that can be found, or null
-
higherEntry
A Type Specific higherEntry method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher entry that can be found, or null
-
floorEntry
A Type Specific floorEntry method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower or equal entry that can be found, or null
-
ceilingEntry
A Type Specific ceilingEntry method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher or equal entry that can be found, or null
-
lowerKey
Veraltet.- Angegeben von:
lowerKeyin SchnittstelleNavigableMap<Short,Integer>
-
floorKey
Veraltet.- Angegeben von:
floorKeyin SchnittstelleNavigableMap<Short,Integer>
-
ceilingKey
Veraltet.- Angegeben von:
ceilingKeyin SchnittstelleNavigableMap<Short,Integer>
-
higherKey
Veraltet.- Angegeben von:
higherKeyin SchnittstelleNavigableMap<Short,Integer>
-
lowerEntry
Veraltet.- Angegeben von:
lowerEntryin SchnittstelleNavigableMap<Short,Integer>
-
floorEntry
Veraltet.- Angegeben von:
floorEntryin SchnittstelleNavigableMap<Short,Integer>
-
ceilingEntry
Veraltet.- Angegeben von:
ceilingEntryin SchnittstelleNavigableMap<Short,Integer>
-
higherEntry
Veraltet.- Angegeben von:
higherEntryin SchnittstelleNavigableMap<Short,Integer>
-
subMap
@Deprecated default Short2IntNavigableMap subMap(Short fromKey, boolean fromInclusive, Short toKey, boolean toInclusive) Veraltet.- Angegeben von:
subMapin SchnittstelleNavigableMap<Short,Integer>
-
headMap
Veraltet.- Angegeben von:
headMapin SchnittstelleNavigableMap<Short,Integer>
-
tailMap
Veraltet.- Angegeben von:
tailMapin SchnittstelleNavigableMap<Short,Integer>
-
subMap
Veraltet.- Angegeben von:
subMapin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
subMapin SchnittstelleShort2IntSortedMap- Angegeben von:
subMapin SchnittstelleSortedMap<Short,Integer>
-
headMap
Veraltet.- Angegeben von:
headMapin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
headMapin SchnittstelleShort2IntSortedMap- Angegeben von:
headMapin SchnittstelleSortedMap<Short,Integer>
-
tailMap
Veraltet.- Angegeben von:
tailMapin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
tailMapin SchnittstelleShort2IntSortedMap- Angegeben von:
tailMapin SchnittstelleSortedMap<Short,Integer>
-