Modul speiger.src.collections
Klasse Short2ObjectMaps.UnmodifyableNavigableMap<V>
java.lang.Object
java.util.AbstractMap<Short,V>
speiger.src.collections.shorts.maps.abstracts.AbstractShort2ObjectMap<V>
speiger.src.collections.shorts.utils.maps.Short2ObjectMaps.UnmodifyableMap<V>
speiger.src.collections.shorts.utils.maps.Short2ObjectMaps.UnmodifyableSortedMap<V>
speiger.src.collections.shorts.utils.maps.Short2ObjectMaps.UnmodifyableNavigableMap<V>
- Typparameter:
V- the keyType of elements maintained by this Collection
- Alle implementierten Schnittstellen:
Map<Short,,V> NavigableMap<Short,,V> SortedMap<Short,,V> ShortFunction<V>,Short2ObjectMap<V>,Short2ObjectNavigableMap<V>,Short2ObjectSortedMap<V>
- Umschließende Klasse:
Short2ObjectMaps
public static class Short2ObjectMaps.UnmodifyableNavigableMap<V>
extends Short2ObjectMaps.UnmodifyableSortedMap<V>
implements Short2ObjectNavigableMap<V>
The Unmodifyable Navigable Map implementation that is sued for the unmodifyableMap function
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.shorts.maps.abstracts.AbstractShort2ObjectMap
AbstractShort2ObjectMap.BasicEntry<V>Von 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.Short2ObjectMap
Short2ObjectMap.BuilderCache<V>, Short2ObjectMap.Entry<V>, Short2ObjectMap.FastEntrySet<V>, Short2ObjectMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.shorts.maps.interfaces.Short2ObjectSortedMap
Short2ObjectSortedMap.FastSortedSet<V> -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungceilingEntry(short key) A Type Specific ceilingEntry method to reduce boxing/unboxing.shortceilingKey(short key) A Type Specific ceilingKey method to reduce boxing/unboxing.copy()A Function that does a shallow clone of the Map itself.floorEntry(short key) A Type Specific floorEntry method to reduce boxing/unboxing.shortfloorKey(short key) A Type Specific floorKey method to reduce boxing/unboxing.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/unboxinghigherEntry(short key) A Type Specific higherEntry method to reduce boxing/unboxing.shorthigherKey(short key) A Type Specific higherKey method to reduce boxing/unboxing.keySet()lowerEntry(short key) A Type Specific lowerEntry method to reduce boxing/unboxing.shortlowerKey(short key) A Type Specific lowerKey method to reduce boxing/unboxing.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/unboxingtailMap(short fromKey) A Type Specific TailMap method to reduce boxing/unboxingtailMap(short fromKey, boolean inclusive) A Type Specific TailMap method to reduce boxing/unboxingVon Klasse geerbte Methoden speiger.src.collections.shorts.utils.maps.Short2ObjectMaps.UnmodifyableSortedMap
comparator, firstShortKey, firstValue, lastShortKey, lastValue, pollFirstShortKey, pollLastShortKeyVon Klasse geerbte Methoden speiger.src.collections.shorts.utils.maps.Short2ObjectMaps.UnmodifyableMap
clear, compute, computeIfAbsent, computeIfPresent, get, getOrDefault, merge, mergeAll, put, putIfAbsent, remove, remove, removeOrDefault, replaceObjects, replaceObjects, short2ObjectEntrySet, supplyIfAbsent, valuesVon Klasse geerbte Methoden speiger.src.collections.shorts.maps.abstracts.AbstractShort2ObjectMap
containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, put, putAll, putAll, putAll, putAll, putAllIfAbsent, remove, replace, replace, setDefaultReturnValueVon Klasse geerbte Methoden java.util.AbstractMap
containsKey, isEmpty, size, toStringVon Schnittstelle geerbte Methoden java.util.Map
clear, containsValue, equals, hashCode, isEmpty, putAll, sizeVon Schnittstelle geerbte Methoden speiger.src.collections.shorts.maps.interfaces.Short2ObjectMap
apply, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, short2ObjectEntrySet, supplyIfAbsentVon Schnittstelle geerbte Methoden speiger.src.collections.shorts.maps.interfaces.Short2ObjectNavigableMap
ceilingEntry, ceilingKey, floorEntry, floorKey, headMap, headMap, higherEntry, higherKey, lowerEntry, lowerKey, subMap, subMap, synchronize, synchronize, tailMap, tailMap, unmodifiableVon Schnittstelle geerbte Methoden speiger.src.collections.shorts.maps.interfaces.Short2ObjectSortedMap
comparator, firstKey, firstShortKey, firstValue, lastKey, lastShortKey, lastValue, pollFirstShortKey, pollLastShortKey, values
-
Methodendetails
-
descendingMap
- Angegeben von:
descendingMapin SchnittstelleNavigableMap<Short,V> - Angegeben von:
descendingMapin SchnittstelleShort2ObjectNavigableMap<V>- Gibt zurück:
- a Type Specific desendingMap
-
keySet
- Angegeben von:
keySetin SchnittstelleMap<Short,V> - Angegeben von:
keySetin SchnittstelleShort2ObjectMap<V>- Angegeben von:
keySetin SchnittstelleShort2ObjectNavigableMap<V>- Angegeben von:
keySetin SchnittstelleShort2ObjectSortedMap<V>- Angegeben von:
keySetin SchnittstelleSortedMap<Short,V> - Setzt außer Kraft:
keySetin KlasseShort2ObjectMaps.UnmodifyableSortedMap<V>- Gibt zurück:
- a Type Specific Navigable Key Set
-
descendingKeySet
- Angegeben von:
descendingKeySetin SchnittstelleNavigableMap<Short,V> - Angegeben von:
descendingKeySetin SchnittstelleShort2ObjectNavigableMap<V>- Gibt zurück:
- a Type Specific Desending Key Set
-
firstEntry
- Angegeben von:
firstEntryin SchnittstelleNavigableMap<Short,V> - Angegeben von:
firstEntryin SchnittstelleShort2ObjectNavigableMap<V>- Gibt zurück:
- a Type Specific firstEntry
-
lastEntry
- Angegeben von:
lastEntryin SchnittstelleNavigableMap<Short,V> - Angegeben von:
lastEntryin SchnittstelleShort2ObjectNavigableMap<V>- Gibt zurück:
- a Type Specific lastEntry
-
pollFirstEntry
- Angegeben von:
pollFirstEntryin SchnittstelleNavigableMap<Short,V> - Angegeben von:
pollFirstEntryin SchnittstelleShort2ObjectNavigableMap<V>- Gibt zurück:
- a Type Specific pollFirstEntry
-
pollLastEntry
- Angegeben von:
pollLastEntryin SchnittstelleNavigableMap<Short,V> - Angegeben von:
pollLastEntryin SchnittstelleShort2ObjectNavigableMap<V>- Gibt zurück:
- a Type Specific pollLastEntry
-
subMap
public Short2ObjectNavigableMap<V> subMap(short fromKey, boolean fromInclusive, short toKey, boolean toInclusive) Beschreibung aus Schnittstelle kopiert:Short2ObjectNavigableMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleShort2ObjectNavigableMap<V>- 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:Short2ObjectNavigableMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleShort2ObjectNavigableMap<V>- 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:Short2ObjectNavigableMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleShort2ObjectNavigableMap<V>- 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:Short2ObjectSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleShort2ObjectNavigableMap<V>- Angegeben von:
subMapin SchnittstelleShort2ObjectSortedMap<V>- Setzt außer Kraft:
subMapin KlasseShort2ObjectMaps.UnmodifyableSortedMap<V>- 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:Short2ObjectSortedMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleShort2ObjectNavigableMap<V>- Angegeben von:
headMapin SchnittstelleShort2ObjectSortedMap<V>- Setzt außer Kraft:
headMapin KlasseShort2ObjectMaps.UnmodifyableSortedMap<V>- 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:Short2ObjectSortedMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleShort2ObjectNavigableMap<V>- Angegeben von:
tailMapin SchnittstelleShort2ObjectSortedMap<V>- Setzt außer Kraft:
tailMapin KlasseShort2ObjectMaps.UnmodifyableSortedMap<V>- Parameter:
fromKey- where the TailMap should start- Gibt zurück:
- a TailMap that is within the range of the desired range
-
setDefaultMaxValue
public void setDefaultMaxValue(short e) Beschreibung aus Schnittstelle kopiert:Short2ObjectNavigableMapA Helper method to set the max value for SubMaps. (Default: short.MIN_VALUE)- Angegeben von:
setDefaultMaxValuein SchnittstelleShort2ObjectNavigableMap<V>- Parameter:
e- the new max value
-
getDefaultMaxValue
public short getDefaultMaxValue()Beschreibung aus Schnittstelle kopiert:Short2ObjectNavigableMapA Helper method to get the max value for SubMaps.- Angegeben von:
getDefaultMaxValuein SchnittstelleShort2ObjectNavigableMap<V>- Gibt zurück:
- the default max value.
-
setDefaultMinValue
public void setDefaultMinValue(short e) Beschreibung aus Schnittstelle kopiert:Short2ObjectNavigableMapA Helper method to set the min value for SubMaps. (Default: short.MAX_VALUE)- Angegeben von:
setDefaultMinValuein SchnittstelleShort2ObjectNavigableMap<V>- Parameter:
e- the new min value
-
getDefaultMinValue
public short getDefaultMinValue()Beschreibung aus Schnittstelle kopiert:Short2ObjectNavigableMapA Helper method to get the min value for SubMaps.- Angegeben von:
getDefaultMinValuein SchnittstelleShort2ObjectNavigableMap<V>- Gibt zurück:
- the default min value.
-
lowerKey
public short lowerKey(short key) Beschreibung aus Schnittstelle kopiert:Short2ObjectNavigableMapA Type Specific lowerKey method to reduce boxing/unboxing.- Angegeben von:
lowerKeyin SchnittstelleShort2ObjectNavigableMap<V>- 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:Short2ObjectNavigableMapA Type Specific higherKey method to reduce boxing/unboxing.- Angegeben von:
higherKeyin SchnittstelleShort2ObjectNavigableMap<V>- 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:Short2ObjectNavigableMapA Type Specific floorKey method to reduce boxing/unboxing.- Angegeben von:
floorKeyin SchnittstelleShort2ObjectNavigableMap<V>- 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:Short2ObjectNavigableMapA Type Specific ceilingKey method to reduce boxing/unboxing.- Angegeben von:
ceilingKeyin SchnittstelleShort2ObjectNavigableMap<V>- 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:Short2ObjectNavigableMapA Type Specific lowerEntry method to reduce boxing/unboxing.- Angegeben von:
lowerEntryin SchnittstelleShort2ObjectNavigableMap<V>- 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:Short2ObjectNavigableMapA Type Specific higherEntry method to reduce boxing/unboxing.- Angegeben von:
higherEntryin SchnittstelleShort2ObjectNavigableMap<V>- 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:Short2ObjectNavigableMapA Type Specific floorEntry method to reduce boxing/unboxing.- Angegeben von:
floorEntryin SchnittstelleShort2ObjectNavigableMap<V>- 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:Short2ObjectNavigableMapA Type Specific ceilingEntry method to reduce boxing/unboxing.- Angegeben von:
ceilingEntryin SchnittstelleShort2ObjectNavigableMap<V>- 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:Short2ObjectMapA 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 SchnittstelleShort2ObjectMap<V>- Angegeben von:
copyin SchnittstelleShort2ObjectNavigableMap<V>- Angegeben von:
copyin SchnittstelleShort2ObjectSortedMap<V>- Setzt außer Kraft:
copyin KlasseShort2ObjectMaps.UnmodifyableSortedMap<V>- Gibt zurück:
- a Shallow Copy of the Map
-