Modul speiger.src.collections
Klasse Short2ShortMaps.UnmodifyableNavigableMap
java.lang.Object
java.util.AbstractMap<Short,Short>
speiger.src.collections.shorts.maps.abstracts.AbstractShort2ShortMap
speiger.src.collections.shorts.utils.maps.Short2ShortMaps.UnmodifyableMap
speiger.src.collections.shorts.utils.maps.Short2ShortMaps.UnmodifyableSortedMap
speiger.src.collections.shorts.utils.maps.Short2ShortMaps.UnmodifyableNavigableMap
- Alle implementierten Schnittstellen:
Map<Short,,Short> NavigableMap<Short,,Short> SortedMap<Short,,Short> ShortUnaryOperator,Short2ShortMap,Short2ShortNavigableMap,Short2ShortSortedMap
- Umschließende Klasse:
Short2ShortMaps
public static class Short2ShortMaps.UnmodifyableNavigableMap
extends Short2ShortMaps.UnmodifyableSortedMap
implements Short2ShortNavigableMap
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.AbstractShort2ShortMap
AbstractShort2ShortMap.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.Short2ShortMap
Short2ShortMap.BuilderCache, Short2ShortMap.Entry, Short2ShortMap.FastEntrySet, Short2ShortMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.shorts.maps.interfaces.Short2ShortSortedMap
Short2ShortSortedMap.FastSortedSet -
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.Short2ShortMaps.UnmodifyableSortedMap
comparator, firstShortKey, firstShortValue, lastShortKey, lastShortValue, pollFirstShortKey, pollLastShortKeyVon Klasse geerbte Methoden speiger.src.collections.shorts.utils.maps.Short2ShortMaps.UnmodifyableMap
addTo, clear, computeShort, computeShortIfAbsent, computeShortIfAbsentNonDefault, computeShortIfPresent, computeShortIfPresentNonDefault, computeShortNonDefault, get, getOrDefault, mergeAllShort, mergeShort, put, putIfAbsent, remove, remove, removeOrDefault, replaceShorts, replaceShorts, short2ShortEntrySet, subFrom, supplyShortIfAbsent, supplyShortIfAbsentNonDefault, valuesVon Klasse geerbte Methoden speiger.src.collections.shorts.maps.abstracts.AbstractShort2ShortMap
addToAll, 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, containsValue, isEmpty, size, toStringVon Schnittstelle geerbte Methoden speiger.src.collections.shorts.maps.interfaces.Short2ShortMap
addTo, addToAll, applyAsShort, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfAbsentNonDefault, computeShortIfPresent, computeShortIfPresentNonDefault, computeShortNonDefault, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllShort, mergeShort, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValue, short2ShortEntrySet, subFrom, supplyShortIfAbsent, supplyShortIfAbsentNonDefaultVon Schnittstelle geerbte Methoden speiger.src.collections.shorts.maps.interfaces.Short2ShortNavigableMap
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.Short2ShortSortedMap
comparator, firstKey, firstShortKey, firstShortValue, lastKey, lastShortKey, lastShortValue, pollFirstShortKey, pollLastShortKey, valuesVon Schnittstelle geerbte Methoden speiger.src.collections.shorts.functions.function.ShortUnaryOperator
andThen, compose
-
Methodendetails
-
descendingMap
- Angegeben von:
descendingMapin SchnittstelleNavigableMap<Short,Short> - Angegeben von:
descendingMapin SchnittstelleShort2ShortNavigableMap- Gibt zurück:
- a Type Specific desendingMap
-
keySet
- Angegeben von:
keySetin SchnittstelleMap<Short,Short> - Angegeben von:
keySetin SchnittstelleShort2ShortMap- Angegeben von:
keySetin SchnittstelleShort2ShortNavigableMap- Angegeben von:
keySetin SchnittstelleShort2ShortSortedMap- Angegeben von:
keySetin SchnittstelleSortedMap<Short,Short> - Setzt außer Kraft:
keySetin KlasseShort2ShortMaps.UnmodifyableSortedMap- Gibt zurück:
- a Type Specific Navigable Key Set
-
descendingKeySet
- Angegeben von:
descendingKeySetin SchnittstelleNavigableMap<Short,Short> - Angegeben von:
descendingKeySetin SchnittstelleShort2ShortNavigableMap- Gibt zurück:
- a Type Specific Desending Key Set
-
firstEntry
- Angegeben von:
firstEntryin SchnittstelleNavigableMap<Short,Short> - Angegeben von:
firstEntryin SchnittstelleShort2ShortNavigableMap- Gibt zurück:
- a Type Specific firstEntry
-
lastEntry
- Angegeben von:
lastEntryin SchnittstelleNavigableMap<Short,Short> - Angegeben von:
lastEntryin SchnittstelleShort2ShortNavigableMap- Gibt zurück:
- a Type Specific lastEntry
-
pollFirstEntry
- Angegeben von:
pollFirstEntryin SchnittstelleNavigableMap<Short,Short> - Angegeben von:
pollFirstEntryin SchnittstelleShort2ShortNavigableMap- Gibt zurück:
- a Type Specific pollFirstEntry
-
pollLastEntry
- Angegeben von:
pollLastEntryin SchnittstelleNavigableMap<Short,Short> - Angegeben von:
pollLastEntryin SchnittstelleShort2ShortNavigableMap- Gibt zurück:
- a Type Specific pollLastEntry
-
subMap
public Short2ShortNavigableMap subMap(short fromKey, boolean fromInclusive, short toKey, boolean toInclusive) Beschreibung aus Schnittstelle kopiert:Short2ShortNavigableMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleShort2ShortNavigableMap- 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:Short2ShortNavigableMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleShort2ShortNavigableMap- 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:Short2ShortNavigableMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleShort2ShortNavigableMap- 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:Short2ShortSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleShort2ShortNavigableMap- Angegeben von:
subMapin SchnittstelleShort2ShortSortedMap- Setzt außer Kraft:
subMapin KlasseShort2ShortMaps.UnmodifyableSortedMap- 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:Short2ShortSortedMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleShort2ShortNavigableMap- Angegeben von:
headMapin SchnittstelleShort2ShortSortedMap- Setzt außer Kraft:
headMapin KlasseShort2ShortMaps.UnmodifyableSortedMap- 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:Short2ShortSortedMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleShort2ShortNavigableMap- Angegeben von:
tailMapin SchnittstelleShort2ShortSortedMap- Setzt außer Kraft:
tailMapin KlasseShort2ShortMaps.UnmodifyableSortedMap- 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:Short2ShortNavigableMapA Helper method to set the max value for SubMaps. (Default: short.MIN_VALUE)- Angegeben von:
setDefaultMaxValuein SchnittstelleShort2ShortNavigableMap- Parameter:
e- the new max value
-
getDefaultMaxValue
public short getDefaultMaxValue()Beschreibung aus Schnittstelle kopiert:Short2ShortNavigableMapA Helper method to get the max value for SubMaps.- Angegeben von:
getDefaultMaxValuein SchnittstelleShort2ShortNavigableMap- Gibt zurück:
- the default max value.
-
setDefaultMinValue
public void setDefaultMinValue(short e) Beschreibung aus Schnittstelle kopiert:Short2ShortNavigableMapA Helper method to set the min value for SubMaps. (Default: short.MAX_VALUE)- Angegeben von:
setDefaultMinValuein SchnittstelleShort2ShortNavigableMap- Parameter:
e- the new min value
-
getDefaultMinValue
public short getDefaultMinValue()Beschreibung aus Schnittstelle kopiert:Short2ShortNavigableMapA Helper method to get the min value for SubMaps.- Angegeben von:
getDefaultMinValuein SchnittstelleShort2ShortNavigableMap- Gibt zurück:
- the default min value.
-
lowerKey
public short lowerKey(short key) Beschreibung aus Schnittstelle kopiert:Short2ShortNavigableMapA Type Specific lowerKey method to reduce boxing/unboxing.- Angegeben von:
lowerKeyin SchnittstelleShort2ShortNavigableMap- 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:Short2ShortNavigableMapA Type Specific higherKey method to reduce boxing/unboxing.- Angegeben von:
higherKeyin SchnittstelleShort2ShortNavigableMap- 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:Short2ShortNavigableMapA Type Specific floorKey method to reduce boxing/unboxing.- Angegeben von:
floorKeyin SchnittstelleShort2ShortNavigableMap- 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:Short2ShortNavigableMapA Type Specific ceilingKey method to reduce boxing/unboxing.- Angegeben von:
ceilingKeyin SchnittstelleShort2ShortNavigableMap- 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:Short2ShortNavigableMapA Type Specific lowerEntry method to reduce boxing/unboxing.- Angegeben von:
lowerEntryin SchnittstelleShort2ShortNavigableMap- 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:Short2ShortNavigableMapA Type Specific higherEntry method to reduce boxing/unboxing.- Angegeben von:
higherEntryin SchnittstelleShort2ShortNavigableMap- 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:Short2ShortNavigableMapA Type Specific floorEntry method to reduce boxing/unboxing.- Angegeben von:
floorEntryin SchnittstelleShort2ShortNavigableMap- 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:Short2ShortNavigableMapA Type Specific ceilingEntry method to reduce boxing/unboxing.- Angegeben von:
ceilingEntryin SchnittstelleShort2ShortNavigableMap- 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:Short2ShortMapA 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 SchnittstelleShort2ShortMap- Angegeben von:
copyin SchnittstelleShort2ShortNavigableMap- Angegeben von:
copyin SchnittstelleShort2ShortSortedMap- Setzt außer Kraft:
copyin KlasseShort2ShortMaps.UnmodifyableSortedMap- Gibt zurück:
- a Shallow Copy of the Map
-