Modul speiger.src.collections
Klasse Short2IntMaps.SynchronizedNavigableMap
java.lang.Object
java.util.AbstractMap<Short,Integer>
speiger.src.collections.shorts.maps.abstracts.AbstractShort2IntMap
speiger.src.collections.shorts.utils.maps.Short2IntMaps.SynchronizedMap
speiger.src.collections.shorts.utils.maps.Short2IntMaps.SynchronizedSortedMap
speiger.src.collections.shorts.utils.maps.Short2IntMaps.SynchronizedNavigableMap
- Alle implementierten Schnittstellen:
Map<Short,,Integer> NavigableMap<Short,,Integer> SortedMap<Short,,Integer> Short2IntFunction,Short2IntMap,Short2IntNavigableMap,Short2IntSortedMap
- Umschließende Klasse:
Short2IntMaps
public static class Short2IntMaps.SynchronizedNavigableMap
extends Short2IntMaps.SynchronizedSortedMap
implements Short2IntNavigableMap
The Synchronized Navigable Map implementation used by the synchronizedMap helper function
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.shorts.maps.abstracts.AbstractShort2IntMap
AbstractShort2IntMap.BasicEntryVon Klasse geerbte verschachtelte Klassen/Schnittstellen java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> 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.ceilingEntry(Short key) Veraltet.shortceilingKey(short key) A Type Specific ceilingKey method to reduce boxing/unboxing.ceilingKey(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.floorEntry(Short key) Veraltet.shortfloorKey(short key) A Type Specific floorKey method to reduce boxing/unboxing.Veraltet.shortA Helper method to get the max value for SubMaps.shortA Helper method to get the min value for SubMaps.headMap(short toKey) A Type Specific HeadMap method to reduce boxing/unboxingheadMap(short toKey, boolean inclusive) A Type Specific HeadMap method to reduce boxing/unboxingVeraltet.Veraltet.higherEntry(short key) A Type Specific higherEntry method to reduce boxing/unboxing.higherEntry(Short key) Veraltet.shorthigherKey(short key) A Type Specific higherKey method to reduce boxing/unboxing.Veraltet.keySet()lowerEntry(short key) A Type Specific lowerEntry method to reduce boxing/unboxing.lowerEntry(Short key) Veraltet.shortlowerKey(short key) A Type Specific lowerKey method to reduce boxing/unboxing.Veraltet.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/unboxingsubMap(short fromKey, short toKey) A Type Specific SubMap method to reduce boxing/unboxingVeraltet.Veraltet.tailMap(short fromKey) A Type Specific TailMap method to reduce boxing/unboxingtailMap(short fromKey, boolean inclusive) A Type Specific TailMap method to reduce boxing/unboxingVeraltet.Veraltet.Von Klasse geerbte Methoden speiger.src.collections.shorts.utils.maps.Short2IntMaps.SynchronizedSortedMap
comparator, firstIntValue, firstKey, firstShortKey, lastIntValue, lastKey, lastShortKey, pollFirstShortKey, pollLastShortKeyVon Klasse geerbte Methoden speiger.src.collections.shorts.utils.maps.Short2IntMaps.SynchronizedMap
addTo, addToAll, clear, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfAbsentNonDefault, computeIntIfPresent, computeIntIfPresentNonDefault, computeIntNonDefault, containsKey, containsKey, containsValue, containsValue, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllInt, mergeInt, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValue, short2IntEntrySet, size, subFrom, supplyIntIfAbsent, supplyIntIfAbsentNonDefault, valuesVon Klasse geerbte Methoden speiger.src.collections.shorts.maps.abstracts.AbstractShort2IntMap
entrySet, equals, hashCode, putAllVon Klasse geerbte Methoden java.util.AbstractMap
isEmpty, toStringVon 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.Short2IntNavigableMap
synchronize, synchronize, unmodifiableVon Schnittstelle geerbte Methoden speiger.src.collections.shorts.maps.interfaces.Short2IntSortedMap
comparator, firstIntValue, firstKey, firstShortKey, lastIntValue, lastKey, lastShortKey, pollFirstShortKey, pollLastShortKey, values
-
Methodendetails
-
descendingMap
- Angegeben von:
descendingMapin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
descendingMapin SchnittstelleShort2IntNavigableMap- Gibt zurück:
- a Type Specific desendingMap
-
descendingKeySet
- Angegeben von:
descendingKeySetin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
descendingKeySetin SchnittstelleShort2IntNavigableMap- Gibt zurück:
- a Type Specific Desending Key Set
-
keySet
- Angegeben von:
keySetin SchnittstelleMap<Short,Integer> - Angegeben von:
keySetin SchnittstelleShort2IntMap- Angegeben von:
keySetin SchnittstelleShort2IntNavigableMap- Angegeben von:
keySetin SchnittstelleShort2IntSortedMap- Angegeben von:
keySetin SchnittstelleSortedMap<Short,Integer> - Setzt außer Kraft:
keySetin KlasseShort2IntMaps.SynchronizedSortedMap- Gibt zurück:
- a Type Specific Navigable Key Set
-
firstEntry
- Angegeben von:
firstEntryin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
firstEntryin SchnittstelleShort2IntNavigableMap- Gibt zurück:
- a Type Specific firstEntry
-
lastEntry
- Angegeben von:
lastEntryin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
lastEntryin SchnittstelleShort2IntNavigableMap- Gibt zurück:
- a Type Specific lastEntry
-
pollFirstEntry
- Angegeben von:
pollFirstEntryin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
pollFirstEntryin SchnittstelleShort2IntNavigableMap- Gibt zurück:
- a Type Specific pollFirstEntry
-
pollLastEntry
- Angegeben von:
pollLastEntryin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
pollLastEntryin SchnittstelleShort2IntNavigableMap- Gibt zurück:
- a Type Specific pollLastEntry
-
subMap
public Short2IntNavigableMap subMap(short fromKey, boolean fromInclusive, short toKey, boolean toInclusive) Beschreibung aus Schnittstelle kopiert:Short2IntNavigableMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleShort2IntNavigableMap- 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
Beschreibung aus Schnittstelle kopiert:Short2IntNavigableMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleShort2IntNavigableMap- 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
Beschreibung aus Schnittstelle kopiert:Short2IntNavigableMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleShort2IntNavigableMap- 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 SchnittstelleShort2IntNavigableMap- Angegeben von:
subMapin SchnittstelleShort2IntSortedMap- Setzt außer Kraft:
subMapin KlasseShort2IntMaps.SynchronizedSortedMap- 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 SchnittstelleShort2IntNavigableMap- Angegeben von:
headMapin SchnittstelleShort2IntSortedMap- Setzt außer Kraft:
headMapin KlasseShort2IntMaps.SynchronizedSortedMap- 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 SchnittstelleShort2IntNavigableMap- Angegeben von:
tailMapin SchnittstelleShort2IntSortedMap- Setzt außer Kraft:
tailMapin KlasseShort2IntMaps.SynchronizedSortedMap- Parameter:
fromKey- where the TailMap should start- Gibt zurück:
- a TailMap that is within the range of the desired range
-
lowerKey
public short lowerKey(short key) Beschreibung aus Schnittstelle kopiert:Short2IntNavigableMapA Type Specific lowerKey method to reduce boxing/unboxing.- Angegeben von:
lowerKeyin SchnittstelleShort2IntNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower key that can be found
-
higherKey
public short higherKey(short key) Beschreibung aus Schnittstelle kopiert:Short2IntNavigableMapA Type Specific higherKey method to reduce boxing/unboxing.- Angegeben von:
higherKeyin SchnittstelleShort2IntNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher key that can be found
-
floorKey
public short floorKey(short key) Beschreibung aus Schnittstelle kopiert:Short2IntNavigableMapA Type Specific floorKey method to reduce boxing/unboxing.- Angegeben von:
floorKeyin SchnittstelleShort2IntNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower or equal key that can be found
-
ceilingKey
public short ceilingKey(short key) Beschreibung aus Schnittstelle kopiert:Short2IntNavigableMapA Type Specific ceilingKey method to reduce boxing/unboxing.- Angegeben von:
ceilingKeyin SchnittstelleShort2IntNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher or equal key that can be found
-
lowerEntry
Beschreibung aus Schnittstelle kopiert:Short2IntNavigableMapA Type Specific lowerEntry method to reduce boxing/unboxing.- Angegeben von:
lowerEntryin SchnittstelleShort2IntNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower entry that can be found, or null
-
higherEntry
Beschreibung aus Schnittstelle kopiert:Short2IntNavigableMapA Type Specific higherEntry method to reduce boxing/unboxing.- Angegeben von:
higherEntryin SchnittstelleShort2IntNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher entry that can be found, or null
-
floorEntry
Beschreibung aus Schnittstelle kopiert:Short2IntNavigableMapA Type Specific floorEntry method to reduce boxing/unboxing.- Angegeben von:
floorEntryin SchnittstelleShort2IntNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower or equal entry that can be found, or null
-
ceilingEntry
Beschreibung aus Schnittstelle kopiert:Short2IntNavigableMapA Type Specific ceilingEntry method to reduce boxing/unboxing.- Angegeben von:
ceilingEntryin SchnittstelleShort2IntNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher or equal entry that can be found, or null
-
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 SchnittstelleShort2IntNavigableMap- Angegeben von:
copyin SchnittstelleShort2IntSortedMap- Setzt außer Kraft:
copyin KlasseShort2IntMaps.SynchronizedSortedMap- Gibt zurück:
- a Shallow Copy of the Map
-
subMap
@Deprecated public Short2IntNavigableMap subMap(Short fromKey, boolean fromInclusive, Short toKey, boolean toInclusive) Veraltet.- Angegeben von:
subMapin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
subMapin SchnittstelleShort2IntNavigableMap
-
headMap
Veraltet.- Angegeben von:
headMapin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
headMapin SchnittstelleShort2IntNavigableMap
-
tailMap
Veraltet.- Angegeben von:
tailMapin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
tailMapin SchnittstelleShort2IntNavigableMap
-
subMap
Veraltet.- Angegeben von:
subMapin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
subMapin SchnittstelleShort2IntNavigableMap- Angegeben von:
subMapin SchnittstelleShort2IntSortedMap- Angegeben von:
subMapin SchnittstelleSortedMap<Short,Integer> - Setzt außer Kraft:
subMapin KlasseShort2IntMaps.SynchronizedSortedMap
-
headMap
Veraltet.- Angegeben von:
headMapin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
headMapin SchnittstelleShort2IntNavigableMap- Angegeben von:
headMapin SchnittstelleShort2IntSortedMap- Angegeben von:
headMapin SchnittstelleSortedMap<Short,Integer> - Setzt außer Kraft:
headMapin KlasseShort2IntMaps.SynchronizedSortedMap
-
tailMap
Veraltet.- Angegeben von:
tailMapin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
tailMapin SchnittstelleShort2IntNavigableMap- Angegeben von:
tailMapin SchnittstelleShort2IntSortedMap- Angegeben von:
tailMapin SchnittstelleSortedMap<Short,Integer> - Setzt außer Kraft:
tailMapin KlasseShort2IntMaps.SynchronizedSortedMap
-
setDefaultMaxValue
public void setDefaultMaxValue(short e) Beschreibung aus Schnittstelle kopiert:Short2IntNavigableMapA Helper method to set the max value for SubMaps. (Default: short.MIN_VALUE)- Angegeben von:
setDefaultMaxValuein SchnittstelleShort2IntNavigableMap- Parameter:
e- the new max value
-
getDefaultMaxValue
public short getDefaultMaxValue()Beschreibung aus Schnittstelle kopiert:Short2IntNavigableMapA Helper method to get the max value for SubMaps.- Angegeben von:
getDefaultMaxValuein SchnittstelleShort2IntNavigableMap- Gibt zurück:
- the default max value.
-
setDefaultMinValue
public void setDefaultMinValue(short e) Beschreibung aus Schnittstelle kopiert:Short2IntNavigableMapA Helper method to set the min value for SubMaps. (Default: short.MAX_VALUE)- Angegeben von:
setDefaultMinValuein SchnittstelleShort2IntNavigableMap- Parameter:
e- the new min value
-
getDefaultMinValue
public short getDefaultMinValue()Beschreibung aus Schnittstelle kopiert:Short2IntNavigableMapA Helper method to get the min value for SubMaps.- Angegeben von:
getDefaultMinValuein SchnittstelleShort2IntNavigableMap- Gibt zurück:
- the default min value.
-
lowerKey
Veraltet.- Angegeben von:
lowerKeyin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
lowerKeyin SchnittstelleShort2IntNavigableMap
-
floorKey
Veraltet.- Angegeben von:
floorKeyin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
floorKeyin SchnittstelleShort2IntNavigableMap
-
ceilingKey
Veraltet.- Angegeben von:
ceilingKeyin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
ceilingKeyin SchnittstelleShort2IntNavigableMap
-
higherKey
Veraltet.- Angegeben von:
higherKeyin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
higherKeyin SchnittstelleShort2IntNavigableMap
-
lowerEntry
Veraltet.- Angegeben von:
lowerEntryin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
lowerEntryin SchnittstelleShort2IntNavigableMap
-
floorEntry
Veraltet.- Angegeben von:
floorEntryin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
floorEntryin SchnittstelleShort2IntNavigableMap
-
ceilingEntry
Veraltet.- Angegeben von:
ceilingEntryin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
ceilingEntryin SchnittstelleShort2IntNavigableMap
-
higherEntry
Veraltet.- Angegeben von:
higherEntryin SchnittstelleNavigableMap<Short,Integer> - Angegeben von:
higherEntryin SchnittstelleShort2IntNavigableMap
-