Modul speiger.src.collections
Klasse Long2ObjectMaps.UnmodifyableNavigableMap<V>
java.lang.Object
java.util.AbstractMap<Long,V>
speiger.src.collections.longs.maps.abstracts.AbstractLong2ObjectMap<V>
speiger.src.collections.longs.utils.maps.Long2ObjectMaps.UnmodifyableMap<V>
speiger.src.collections.longs.utils.maps.Long2ObjectMaps.UnmodifyableSortedMap<V>
speiger.src.collections.longs.utils.maps.Long2ObjectMaps.UnmodifyableNavigableMap<V>
- Typparameter:
V- the keyType of elements maintained by this Collection
- Alle implementierten Schnittstellen:
LongFunction<V>,Map<Long,,V> NavigableMap<Long,,V> SortedMap<Long,,V> LongFunction<V>,Long2ObjectMap<V>,Long2ObjectNavigableMap<V>,Long2ObjectSortedMap<V>
- Umschließende Klasse:
Long2ObjectMaps
public static class Long2ObjectMaps.UnmodifyableNavigableMap<V>
extends Long2ObjectMaps.UnmodifyableSortedMap<V>
implements Long2ObjectNavigableMap<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.longs.maps.abstracts.AbstractLong2ObjectMap
AbstractLong2ObjectMap.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.longs.maps.interfaces.Long2ObjectMap
Long2ObjectMap.BuilderCache<V>, Long2ObjectMap.Entry<V>, Long2ObjectMap.FastEntrySet<V>, Long2ObjectMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.longs.maps.interfaces.Long2ObjectSortedMap
Long2ObjectSortedMap.FastSortedSet<V> -
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.Long2ObjectMaps.UnmodifyableSortedMap
comparator, firstLongKey, firstValue, lastLongKey, lastValue, pollFirstLongKey, pollLastLongKeyVon Klasse geerbte Methoden speiger.src.collections.longs.utils.maps.Long2ObjectMaps.UnmodifyableMap
clear, compute, computeIfAbsent, computeIfPresent, get, getOrDefault, long2ObjectEntrySet, merge, mergeAll, put, putIfAbsent, remove, remove, removeOrDefault, replaceObjects, replaceObjects, supplyIfAbsent, valuesVon Klasse geerbte Methoden speiger.src.collections.longs.maps.abstracts.AbstractLong2ObjectMap
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 speiger.src.collections.longs.maps.interfaces.Long2ObjectMap
apply, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, long2ObjectEntrySet, 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, supplyIfAbsentVon Schnittstelle geerbte Methoden speiger.src.collections.longs.maps.interfaces.Long2ObjectNavigableMap
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.Long2ObjectSortedMap
comparator, firstKey, firstLongKey, firstValue, lastKey, lastLongKey, lastValue, pollFirstLongKey, pollLastLongKey, values
-
Methodendetails
-
descendingMap
- Angegeben von:
descendingMapin SchnittstelleLong2ObjectNavigableMap<V>- Angegeben von:
descendingMapin SchnittstelleNavigableMap<Long,V> - Gibt zurück:
- a Type Specific desendingMap
-
keySet
- Angegeben von:
keySetin SchnittstelleLong2ObjectMap<V>- Angegeben von:
keySetin SchnittstelleLong2ObjectNavigableMap<V>- Angegeben von:
keySetin SchnittstelleLong2ObjectSortedMap<V>- Angegeben von:
keySetin SchnittstelleMap<Long,V> - Angegeben von:
keySetin SchnittstelleSortedMap<Long,V> - Setzt außer Kraft:
keySetin KlasseLong2ObjectMaps.UnmodifyableSortedMap<V>- Gibt zurück:
- a Type Specific Navigable Key Set
-
descendingKeySet
- Angegeben von:
descendingKeySetin SchnittstelleLong2ObjectNavigableMap<V>- Angegeben von:
descendingKeySetin SchnittstelleNavigableMap<Long,V> - Gibt zurück:
- a Type Specific Desending Key Set
-
firstEntry
- Angegeben von:
firstEntryin SchnittstelleLong2ObjectNavigableMap<V>- Angegeben von:
firstEntryin SchnittstelleNavigableMap<Long,V> - Gibt zurück:
- a Type Specific firstEntry
-
lastEntry
- Angegeben von:
lastEntryin SchnittstelleLong2ObjectNavigableMap<V>- Angegeben von:
lastEntryin SchnittstelleNavigableMap<Long,V> - Gibt zurück:
- a Type Specific lastEntry
-
pollFirstEntry
- Angegeben von:
pollFirstEntryin SchnittstelleLong2ObjectNavigableMap<V>- Angegeben von:
pollFirstEntryin SchnittstelleNavigableMap<Long,V> - Gibt zurück:
- a Type Specific pollFirstEntry
-
pollLastEntry
- Angegeben von:
pollLastEntryin SchnittstelleLong2ObjectNavigableMap<V>- Angegeben von:
pollLastEntryin SchnittstelleNavigableMap<Long,V> - Gibt zurück:
- a Type Specific pollLastEntry
-
subMap
public Long2ObjectNavigableMap<V> subMap(long fromKey, boolean fromInclusive, long toKey, boolean toInclusive) Beschreibung aus Schnittstelle kopiert:Long2ObjectNavigableMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleLong2ObjectNavigableMap<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:Long2ObjectNavigableMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleLong2ObjectNavigableMap<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:Long2ObjectNavigableMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleLong2ObjectNavigableMap<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:Long2ObjectSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleLong2ObjectNavigableMap<V>- Angegeben von:
subMapin SchnittstelleLong2ObjectSortedMap<V>- Setzt außer Kraft:
subMapin KlasseLong2ObjectMaps.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:Long2ObjectSortedMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleLong2ObjectNavigableMap<V>- Angegeben von:
headMapin SchnittstelleLong2ObjectSortedMap<V>- Setzt außer Kraft:
headMapin KlasseLong2ObjectMaps.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:Long2ObjectSortedMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleLong2ObjectNavigableMap<V>- Angegeben von:
tailMapin SchnittstelleLong2ObjectSortedMap<V>- Setzt außer Kraft:
tailMapin KlasseLong2ObjectMaps.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(long e) Beschreibung aus Schnittstelle kopiert:Long2ObjectNavigableMapA Helper method to set the max value for SubMaps. (Default: long.MIN_VALUE)- Angegeben von:
setDefaultMaxValuein SchnittstelleLong2ObjectNavigableMap<V>- Parameter:
e- the new max value
-
getDefaultMaxValue
public long getDefaultMaxValue()Beschreibung aus Schnittstelle kopiert:Long2ObjectNavigableMapA Helper method to get the max value for SubMaps.- Angegeben von:
getDefaultMaxValuein SchnittstelleLong2ObjectNavigableMap<V>- Gibt zurück:
- the default max value.
-
setDefaultMinValue
public void setDefaultMinValue(long e) Beschreibung aus Schnittstelle kopiert:Long2ObjectNavigableMapA Helper method to set the min value for SubMaps. (Default: long.MAX_VALUE)- Angegeben von:
setDefaultMinValuein SchnittstelleLong2ObjectNavigableMap<V>- Parameter:
e- the new min value
-
getDefaultMinValue
public long getDefaultMinValue()Beschreibung aus Schnittstelle kopiert:Long2ObjectNavigableMapA Helper method to get the min value for SubMaps.- Angegeben von:
getDefaultMinValuein SchnittstelleLong2ObjectNavigableMap<V>- Gibt zurück:
- the default min value.
-
lowerKey
public long lowerKey(long key) Beschreibung aus Schnittstelle kopiert:Long2ObjectNavigableMapA Type Specific lowerKey method to reduce boxing/unboxing.- Angegeben von:
lowerKeyin SchnittstelleLong2ObjectNavigableMap<V>- 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:Long2ObjectNavigableMapA Type Specific higherKey method to reduce boxing/unboxing.- Angegeben von:
higherKeyin SchnittstelleLong2ObjectNavigableMap<V>- 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:Long2ObjectNavigableMapA Type Specific floorKey method to reduce boxing/unboxing.- Angegeben von:
floorKeyin SchnittstelleLong2ObjectNavigableMap<V>- 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:Long2ObjectNavigableMapA Type Specific ceilingKey method to reduce boxing/unboxing.- Angegeben von:
ceilingKeyin SchnittstelleLong2ObjectNavigableMap<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:Long2ObjectNavigableMapA Type Specific lowerEntry method to reduce boxing/unboxing.- Angegeben von:
lowerEntryin SchnittstelleLong2ObjectNavigableMap<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:Long2ObjectNavigableMapA Type Specific higherEntry method to reduce boxing/unboxing.- Angegeben von:
higherEntryin SchnittstelleLong2ObjectNavigableMap<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:Long2ObjectNavigableMapA Type Specific floorEntry method to reduce boxing/unboxing.- Angegeben von:
floorEntryin SchnittstelleLong2ObjectNavigableMap<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:Long2ObjectNavigableMapA Type Specific ceilingEntry method to reduce boxing/unboxing.- Angegeben von:
ceilingEntryin SchnittstelleLong2ObjectNavigableMap<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:Long2ObjectMapA 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 SchnittstelleLong2ObjectMap<V>- Angegeben von:
copyin SchnittstelleLong2ObjectNavigableMap<V>- Angegeben von:
copyin SchnittstelleLong2ObjectSortedMap<V>- Setzt außer Kraft:
copyin KlasseLong2ObjectMaps.UnmodifyableSortedMap<V>- Gibt zurück:
- a Shallow Copy of the Map
-