Modul speiger.src.collections
Klasse Long2ShortMaps.UnmodifyableNavigableMap
java.lang.Object
java.util.AbstractMap<Long,Short>
speiger.src.collections.longs.maps.abstracts.AbstractLong2ShortMap
speiger.src.collections.longs.utils.maps.Long2ShortMaps.UnmodifyableMap
speiger.src.collections.longs.utils.maps.Long2ShortMaps.UnmodifyableSortedMap
speiger.src.collections.longs.utils.maps.Long2ShortMaps.UnmodifyableNavigableMap
- Alle implementierten Schnittstellen:
Map<Long,,Short> NavigableMap<Long,,Short> SortedMap<Long,,Short> Long2ShortFunction,Long2ShortMap,Long2ShortNavigableMap,Long2ShortSortedMap
- Umschließende Klasse:
Long2ShortMaps
public static class Long2ShortMaps.UnmodifyableNavigableMap
extends Long2ShortMaps.UnmodifyableSortedMap
implements Long2ShortNavigableMap
The Unmodifyable Navigable Map implementation that is sued for the unmodifyableMap function
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.longs.maps.abstracts.AbstractLong2ShortMap
AbstractLong2ShortMap.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.longs.maps.interfaces.Long2ShortMap
Long2ShortMap.BuilderCache, Long2ShortMap.Entry, Long2ShortMap.FastEntrySet, Long2ShortMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.longs.maps.interfaces.Long2ShortSortedMap
Long2ShortSortedMap.FastSortedSet -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungceilingEntry(long key) A Type Specific ceilingEntry method to reduce boxing/unboxing.longceilingKey(long key) A Type Specific ceilingKey method to reduce boxing/unboxing.copy()A Function that does a shallow clone of the Map itself.floorEntry(long key) A Type Specific floorEntry method to reduce boxing/unboxing.longfloorKey(long key) A Type Specific floorKey method to reduce boxing/unboxing.longA Helper method to get the max value for SubMaps.longA Helper method to get the min value for SubMaps.headMap(long toKey) A Type Specific HeadMap method to reduce boxing/unboxingheadMap(long toKey, boolean inclusive) A Type Specific HeadMap method to reduce boxing/unboxinghigherEntry(long key) A Type Specific higherEntry method to reduce boxing/unboxing.longhigherKey(long key) A Type Specific higherKey method to reduce boxing/unboxing.keySet()lowerEntry(long key) A Type Specific lowerEntry method to reduce boxing/unboxing.longlowerKey(long key) A Type Specific lowerKey method to reduce boxing/unboxing.voidsetDefaultMaxValue(long e) A Helper method to set the max value for SubMaps.voidsetDefaultMinValue(long e) A Helper method to set the min value for SubMaps.subMap(long fromKey, boolean fromInclusive, long toKey, boolean toInclusive) A Type Specific SubMap method to reduce boxing/unboxingsubMap(long fromKey, long toKey) A Type Specific SubMap method to reduce boxing/unboxingtailMap(long fromKey) A Type Specific TailMap method to reduce boxing/unboxingtailMap(long fromKey, boolean inclusive) A Type Specific TailMap method to reduce boxing/unboxingVon Klasse geerbte Methoden speiger.src.collections.longs.utils.maps.Long2ShortMaps.UnmodifyableSortedMap
comparator, firstLongKey, firstShortValue, lastLongKey, lastShortValue, pollFirstLongKey, pollLastLongKeyVon Klasse geerbte Methoden speiger.src.collections.longs.utils.maps.Long2ShortMaps.UnmodifyableMap
addTo, clear, computeShort, computeShortIfAbsent, computeShortIfAbsentNonDefault, computeShortIfPresent, computeShortIfPresentNonDefault, computeShortNonDefault, get, getOrDefault, long2ShortEntrySet, mergeAllShort, mergeShort, put, putIfAbsent, remove, remove, removeOrDefault, replaceShorts, replaceShorts, subFrom, supplyShortIfAbsent, supplyShortIfAbsentNonDefault, valuesVon Klasse geerbte Methoden speiger.src.collections.longs.maps.abstracts.AbstractLong2ShortMap
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.longs.maps.interfaces.Long2ShortMap
addTo, addToAll, applyAsShort, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfAbsentNonDefault, computeShortIfPresent, computeShortIfPresentNonDefault, computeShortNonDefault, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, long2ShortEntrySet, 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, subFrom, supplyShortIfAbsent, supplyShortIfAbsentNonDefaultVon Schnittstelle geerbte Methoden speiger.src.collections.longs.maps.interfaces.Long2ShortNavigableMap
ceilingEntry, ceilingKey, floorEntry, floorKey, headMap, headMap, higherEntry, higherKey, lowerEntry, lowerKey, subMap, subMap, synchronize, synchronize, tailMap, tailMap, unmodifiableVon Schnittstelle geerbte Methoden speiger.src.collections.longs.maps.interfaces.Long2ShortSortedMap
comparator, firstKey, firstLongKey, firstShortValue, lastKey, lastLongKey, lastShortValue, pollFirstLongKey, pollLastLongKey, values
-
Methodendetails
-
descendingMap
- Angegeben von:
descendingMapin SchnittstelleLong2ShortNavigableMap- Angegeben von:
descendingMapin SchnittstelleNavigableMap<Long,Short> - Gibt zurück:
- a Type Specific desendingMap
-
keySet
- Angegeben von:
keySetin SchnittstelleLong2ShortMap- Angegeben von:
keySetin SchnittstelleLong2ShortNavigableMap- Angegeben von:
keySetin SchnittstelleLong2ShortSortedMap- Angegeben von:
keySetin SchnittstelleMap<Long,Short> - Angegeben von:
keySetin SchnittstelleSortedMap<Long,Short> - Setzt außer Kraft:
keySetin KlasseLong2ShortMaps.UnmodifyableSortedMap- Gibt zurück:
- a Type Specific Navigable Key Set
-
descendingKeySet
- Angegeben von:
descendingKeySetin SchnittstelleLong2ShortNavigableMap- Angegeben von:
descendingKeySetin SchnittstelleNavigableMap<Long,Short> - Gibt zurück:
- a Type Specific Desending Key Set
-
firstEntry
- Angegeben von:
firstEntryin SchnittstelleLong2ShortNavigableMap- Angegeben von:
firstEntryin SchnittstelleNavigableMap<Long,Short> - Gibt zurück:
- a Type Specific firstEntry
-
lastEntry
- Angegeben von:
lastEntryin SchnittstelleLong2ShortNavigableMap- Angegeben von:
lastEntryin SchnittstelleNavigableMap<Long,Short> - Gibt zurück:
- a Type Specific lastEntry
-
pollFirstEntry
- Angegeben von:
pollFirstEntryin SchnittstelleLong2ShortNavigableMap- Angegeben von:
pollFirstEntryin SchnittstelleNavigableMap<Long,Short> - Gibt zurück:
- a Type Specific pollFirstEntry
-
pollLastEntry
- Angegeben von:
pollLastEntryin SchnittstelleLong2ShortNavigableMap- Angegeben von:
pollLastEntryin SchnittstelleNavigableMap<Long,Short> - Gibt zurück:
- a Type Specific pollLastEntry
-
subMap
public Long2ShortNavigableMap subMap(long fromKey, boolean fromInclusive, long toKey, boolean toInclusive) Beschreibung aus Schnittstelle kopiert:Long2ShortNavigableMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleLong2ShortNavigableMap- 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:Long2ShortNavigableMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleLong2ShortNavigableMap- 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:Long2ShortNavigableMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleLong2ShortNavigableMap- 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:Long2ShortSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleLong2ShortNavigableMap- Angegeben von:
subMapin SchnittstelleLong2ShortSortedMap- Setzt außer Kraft:
subMapin KlasseLong2ShortMaps.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:Long2ShortSortedMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleLong2ShortNavigableMap- Angegeben von:
headMapin SchnittstelleLong2ShortSortedMap- Setzt außer Kraft:
headMapin KlasseLong2ShortMaps.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:Long2ShortSortedMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleLong2ShortNavigableMap- Angegeben von:
tailMapin SchnittstelleLong2ShortSortedMap- Setzt außer Kraft:
tailMapin KlasseLong2ShortMaps.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(long e) Beschreibung aus Schnittstelle kopiert:Long2ShortNavigableMapA Helper method to set the max value for SubMaps. (Default: long.MIN_VALUE)- Angegeben von:
setDefaultMaxValuein SchnittstelleLong2ShortNavigableMap- Parameter:
e- the new max value
-
getDefaultMaxValue
public long getDefaultMaxValue()Beschreibung aus Schnittstelle kopiert:Long2ShortNavigableMapA Helper method to get the max value for SubMaps.- Angegeben von:
getDefaultMaxValuein SchnittstelleLong2ShortNavigableMap- Gibt zurück:
- the default max value.
-
setDefaultMinValue
public void setDefaultMinValue(long e) Beschreibung aus Schnittstelle kopiert:Long2ShortNavigableMapA Helper method to set the min value for SubMaps. (Default: long.MAX_VALUE)- Angegeben von:
setDefaultMinValuein SchnittstelleLong2ShortNavigableMap- Parameter:
e- the new min value
-
getDefaultMinValue
public long getDefaultMinValue()Beschreibung aus Schnittstelle kopiert:Long2ShortNavigableMapA Helper method to get the min value for SubMaps.- Angegeben von:
getDefaultMinValuein SchnittstelleLong2ShortNavigableMap- Gibt zurück:
- the default min value.
-
lowerKey
public long lowerKey(long key) Beschreibung aus Schnittstelle kopiert:Long2ShortNavigableMapA Type Specific lowerKey method to reduce boxing/unboxing.- Angegeben von:
lowerKeyin SchnittstelleLong2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower key that can be found
-
higherKey
public long higherKey(long key) Beschreibung aus Schnittstelle kopiert:Long2ShortNavigableMapA Type Specific higherKey method to reduce boxing/unboxing.- Angegeben von:
higherKeyin SchnittstelleLong2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher key that can be found
-
floorKey
public long floorKey(long key) Beschreibung aus Schnittstelle kopiert:Long2ShortNavigableMapA Type Specific floorKey method to reduce boxing/unboxing.- Angegeben von:
floorKeyin SchnittstelleLong2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower or equal key that can be found
-
ceilingKey
public long ceilingKey(long key) Beschreibung aus Schnittstelle kopiert:Long2ShortNavigableMapA Type Specific ceilingKey method to reduce boxing/unboxing.- Angegeben von:
ceilingKeyin SchnittstelleLong2ShortNavigableMap- 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:Long2ShortNavigableMapA Type Specific lowerEntry method to reduce boxing/unboxing.- Angegeben von:
lowerEntryin SchnittstelleLong2ShortNavigableMap- 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:Long2ShortNavigableMapA Type Specific higherEntry method to reduce boxing/unboxing.- Angegeben von:
higherEntryin SchnittstelleLong2ShortNavigableMap- 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:Long2ShortNavigableMapA Type Specific floorEntry method to reduce boxing/unboxing.- Angegeben von:
floorEntryin SchnittstelleLong2ShortNavigableMap- 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:Long2ShortNavigableMapA Type Specific ceilingEntry method to reduce boxing/unboxing.- Angegeben von:
ceilingEntryin SchnittstelleLong2ShortNavigableMap- 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:Long2ShortMapA 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 SchnittstelleLong2ShortMap- Angegeben von:
copyin SchnittstelleLong2ShortNavigableMap- Angegeben von:
copyin SchnittstelleLong2ShortSortedMap- Setzt außer Kraft:
copyin KlasseLong2ShortMaps.UnmodifyableSortedMap- Gibt zurück:
- a Shallow Copy of the Map
-