Modul speiger.src.collections
Klasse Long2IntMaps.SynchronizedNavigableMap
java.lang.Object
java.util.AbstractMap<Long,Integer>
speiger.src.collections.longs.maps.abstracts.AbstractLong2IntMap
speiger.src.collections.longs.utils.maps.Long2IntMaps.SynchronizedMap
speiger.src.collections.longs.utils.maps.Long2IntMaps.SynchronizedSortedMap
speiger.src.collections.longs.utils.maps.Long2IntMaps.SynchronizedNavigableMap
- Alle implementierten Schnittstellen:
LongToIntFunction,Map<Long,,Integer> NavigableMap<Long,,Integer> SortedMap<Long,,Integer> Long2IntFunction,Long2IntMap,Long2IntNavigableMap,Long2IntSortedMap
- Umschließende Klasse:
Long2IntMaps
public static class Long2IntMaps.SynchronizedNavigableMap
extends Long2IntMaps.SynchronizedSortedMap
implements Long2IntNavigableMap
The Synchronized Navigable Map implementation used by the synchronizedMap helper function
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.longs.maps.abstracts.AbstractLong2IntMap
AbstractLong2IntMap.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.Long2IntMap
Long2IntMap.BuilderCache, Long2IntMap.Entry, Long2IntMap.FastEntrySet, Long2IntMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.longs.maps.interfaces.Long2IntSortedMap
Long2IntSortedMap.FastSortedSet -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungceilingEntry(long key) A Type Specific ceilingEntry method to reduce boxing/unboxing.ceilingEntry(Long key) Veraltet.longceilingKey(long key) A Type Specific ceilingKey method to reduce boxing/unboxing.ceilingKey(Long key) Veraltet.copy()A Function that does a shallow clone of the Map itself.floorEntry(long key) A Type Specific floorEntry method to reduce boxing/unboxing.floorEntry(Long key) Veraltet.longfloorKey(long key) A Type Specific floorKey method to reduce boxing/unboxing.Veraltet.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/unboxingVeraltet.Veraltet.higherEntry(long key) A Type Specific higherEntry method to reduce boxing/unboxing.higherEntry(Long key) Veraltet.longhigherKey(long key) A Type Specific higherKey method to reduce boxing/unboxing.Veraltet.keySet()lowerEntry(long key) A Type Specific lowerEntry method to reduce boxing/unboxing.lowerEntry(Long key) Veraltet.longlowerKey(long key) A Type Specific lowerKey method to reduce boxing/unboxing.Veraltet.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/unboxingVeraltet.Veraltet.tailMap(long fromKey) A Type Specific TailMap method to reduce boxing/unboxingtailMap(long fromKey, boolean inclusive) A Type Specific TailMap method to reduce boxing/unboxingVeraltet.Veraltet.Von Klasse geerbte Methoden speiger.src.collections.longs.utils.maps.Long2IntMaps.SynchronizedSortedMap
comparator, firstIntValue, firstKey, firstLongKey, lastIntValue, lastKey, lastLongKey, pollFirstLongKey, pollLastLongKeyVon Klasse geerbte Methoden speiger.src.collections.longs.utils.maps.Long2IntMaps.SynchronizedMap
addTo, addToAll, clear, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfAbsentNonDefault, computeIntIfPresent, computeIntIfPresentNonDefault, computeIntNonDefault, containsKey, containsKey, containsValue, containsValue, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, long2IntEntrySet, merge, mergeAllInt, mergeInt, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValue, size, subFrom, supplyIntIfAbsent, supplyIntIfAbsentNonDefault, valuesVon Klasse geerbte Methoden speiger.src.collections.longs.maps.abstracts.AbstractLong2IntMap
entrySet, equals, hashCode, putAllVon Klasse geerbte Methoden java.util.AbstractMap
isEmpty, toStringVon Schnittstelle geerbte Methoden speiger.src.collections.longs.maps.interfaces.Long2IntMap
addTo, addToAll, applyAsInt, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfAbsentNonDefault, computeIntIfPresent, computeIntIfPresentNonDefault, computeIntNonDefault, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, long2IntEntrySet, 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, subFrom, supplyIntIfAbsent, supplyIntIfAbsentNonDefaultVon Schnittstelle geerbte Methoden speiger.src.collections.longs.maps.interfaces.Long2IntNavigableMap
synchronize, synchronize, unmodifiableVon Schnittstelle geerbte Methoden speiger.src.collections.longs.maps.interfaces.Long2IntSortedMap
comparator, firstIntValue, firstKey, firstLongKey, lastIntValue, lastKey, lastLongKey, pollFirstLongKey, pollLastLongKey, values
-
Methodendetails
-
descendingMap
- Angegeben von:
descendingMapin SchnittstelleLong2IntNavigableMap- Angegeben von:
descendingMapin SchnittstelleNavigableMap<Long,Integer> - Gibt zurück:
- a Type Specific desendingMap
-
descendingKeySet
- Angegeben von:
descendingKeySetin SchnittstelleLong2IntNavigableMap- Angegeben von:
descendingKeySetin SchnittstelleNavigableMap<Long,Integer> - Gibt zurück:
- a Type Specific Desending Key Set
-
keySet
- Angegeben von:
keySetin SchnittstelleLong2IntMap- Angegeben von:
keySetin SchnittstelleLong2IntNavigableMap- Angegeben von:
keySetin SchnittstelleLong2IntSortedMap- Angegeben von:
keySetin SchnittstelleMap<Long,Integer> - Angegeben von:
keySetin SchnittstelleSortedMap<Long,Integer> - Setzt außer Kraft:
keySetin KlasseLong2IntMaps.SynchronizedSortedMap- Gibt zurück:
- a Type Specific Navigable Key Set
-
firstEntry
- Angegeben von:
firstEntryin SchnittstelleLong2IntNavigableMap- Angegeben von:
firstEntryin SchnittstelleNavigableMap<Long,Integer> - Gibt zurück:
- a Type Specific firstEntry
-
lastEntry
- Angegeben von:
lastEntryin SchnittstelleLong2IntNavigableMap- Angegeben von:
lastEntryin SchnittstelleNavigableMap<Long,Integer> - Gibt zurück:
- a Type Specific lastEntry
-
pollFirstEntry
- Angegeben von:
pollFirstEntryin SchnittstelleLong2IntNavigableMap- Angegeben von:
pollFirstEntryin SchnittstelleNavigableMap<Long,Integer> - Gibt zurück:
- a Type Specific pollFirstEntry
-
pollLastEntry
- Angegeben von:
pollLastEntryin SchnittstelleLong2IntNavigableMap- Angegeben von:
pollLastEntryin SchnittstelleNavigableMap<Long,Integer> - Gibt zurück:
- a Type Specific pollLastEntry
-
subMap
public Long2IntNavigableMap subMap(long fromKey, boolean fromInclusive, long toKey, boolean toInclusive) Beschreibung aus Schnittstelle kopiert:Long2IntNavigableMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleLong2IntNavigableMap- 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:Long2IntNavigableMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleLong2IntNavigableMap- 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:Long2IntNavigableMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleLong2IntNavigableMap- 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:Long2IntSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleLong2IntNavigableMap- Angegeben von:
subMapin SchnittstelleLong2IntSortedMap- Setzt außer Kraft:
subMapin KlasseLong2IntMaps.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:Long2IntSortedMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleLong2IntNavigableMap- Angegeben von:
headMapin SchnittstelleLong2IntSortedMap- Setzt außer Kraft:
headMapin KlasseLong2IntMaps.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:Long2IntSortedMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleLong2IntNavigableMap- Angegeben von:
tailMapin SchnittstelleLong2IntSortedMap- Setzt außer Kraft:
tailMapin KlasseLong2IntMaps.SynchronizedSortedMap- Parameter:
fromKey- where the TailMap should start- Gibt zurück:
- a TailMap that is within the range of the desired range
-
lowerKey
public long lowerKey(long key) Beschreibung aus Schnittstelle kopiert:Long2IntNavigableMapA Type Specific lowerKey method to reduce boxing/unboxing.- Angegeben von:
lowerKeyin SchnittstelleLong2IntNavigableMap- 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:Long2IntNavigableMapA Type Specific higherKey method to reduce boxing/unboxing.- Angegeben von:
higherKeyin SchnittstelleLong2IntNavigableMap- 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:Long2IntNavigableMapA Type Specific floorKey method to reduce boxing/unboxing.- Angegeben von:
floorKeyin SchnittstelleLong2IntNavigableMap- 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:Long2IntNavigableMapA Type Specific ceilingKey method to reduce boxing/unboxing.- Angegeben von:
ceilingKeyin SchnittstelleLong2IntNavigableMap- 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:Long2IntNavigableMapA Type Specific lowerEntry method to reduce boxing/unboxing.- Angegeben von:
lowerEntryin SchnittstelleLong2IntNavigableMap- 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:Long2IntNavigableMapA Type Specific higherEntry method to reduce boxing/unboxing.- Angegeben von:
higherEntryin SchnittstelleLong2IntNavigableMap- 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:Long2IntNavigableMapA Type Specific floorEntry method to reduce boxing/unboxing.- Angegeben von:
floorEntryin SchnittstelleLong2IntNavigableMap- 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:Long2IntNavigableMapA Type Specific ceilingEntry method to reduce boxing/unboxing.- Angegeben von:
ceilingEntryin SchnittstelleLong2IntNavigableMap- 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:Long2IntMapA 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 SchnittstelleLong2IntMap- Angegeben von:
copyin SchnittstelleLong2IntNavigableMap- Angegeben von:
copyin SchnittstelleLong2IntSortedMap- Setzt außer Kraft:
copyin KlasseLong2IntMaps.SynchronizedSortedMap- Gibt zurück:
- a Shallow Copy of the Map
-
subMap
@Deprecated public Long2IntNavigableMap subMap(Long fromKey, boolean fromInclusive, Long toKey, boolean toInclusive) Veraltet.- Angegeben von:
subMapin SchnittstelleLong2IntNavigableMap- Angegeben von:
subMapin SchnittstelleNavigableMap<Long,Integer>
-
headMap
Veraltet.- Angegeben von:
headMapin SchnittstelleLong2IntNavigableMap- Angegeben von:
headMapin SchnittstelleNavigableMap<Long,Integer>
-
tailMap
Veraltet.- Angegeben von:
tailMapin SchnittstelleLong2IntNavigableMap- Angegeben von:
tailMapin SchnittstelleNavigableMap<Long,Integer>
-
subMap
Veraltet.- Angegeben von:
subMapin SchnittstelleLong2IntNavigableMap- Angegeben von:
subMapin SchnittstelleLong2IntSortedMap- Angegeben von:
subMapin SchnittstelleNavigableMap<Long,Integer> - Angegeben von:
subMapin SchnittstelleSortedMap<Long,Integer> - Setzt außer Kraft:
subMapin KlasseLong2IntMaps.SynchronizedSortedMap
-
headMap
Veraltet.- Angegeben von:
headMapin SchnittstelleLong2IntNavigableMap- Angegeben von:
headMapin SchnittstelleLong2IntSortedMap- Angegeben von:
headMapin SchnittstelleNavigableMap<Long,Integer> - Angegeben von:
headMapin SchnittstelleSortedMap<Long,Integer> - Setzt außer Kraft:
headMapin KlasseLong2IntMaps.SynchronizedSortedMap
-
tailMap
Veraltet.- Angegeben von:
tailMapin SchnittstelleLong2IntNavigableMap- Angegeben von:
tailMapin SchnittstelleLong2IntSortedMap- Angegeben von:
tailMapin SchnittstelleNavigableMap<Long,Integer> - Angegeben von:
tailMapin SchnittstelleSortedMap<Long,Integer> - Setzt außer Kraft:
tailMapin KlasseLong2IntMaps.SynchronizedSortedMap
-
setDefaultMaxValue
public void setDefaultMaxValue(long e) Beschreibung aus Schnittstelle kopiert:Long2IntNavigableMapA Helper method to set the max value for SubMaps. (Default: long.MIN_VALUE)- Angegeben von:
setDefaultMaxValuein SchnittstelleLong2IntNavigableMap- Parameter:
e- the new max value
-
getDefaultMaxValue
public long getDefaultMaxValue()Beschreibung aus Schnittstelle kopiert:Long2IntNavigableMapA Helper method to get the max value for SubMaps.- Angegeben von:
getDefaultMaxValuein SchnittstelleLong2IntNavigableMap- Gibt zurück:
- the default max value.
-
setDefaultMinValue
public void setDefaultMinValue(long e) Beschreibung aus Schnittstelle kopiert:Long2IntNavigableMapA Helper method to set the min value for SubMaps. (Default: long.MAX_VALUE)- Angegeben von:
setDefaultMinValuein SchnittstelleLong2IntNavigableMap- Parameter:
e- the new min value
-
getDefaultMinValue
public long getDefaultMinValue()Beschreibung aus Schnittstelle kopiert:Long2IntNavigableMapA Helper method to get the min value for SubMaps.- Angegeben von:
getDefaultMinValuein SchnittstelleLong2IntNavigableMap- Gibt zurück:
- the default min value.
-
lowerKey
Veraltet.- Angegeben von:
lowerKeyin SchnittstelleLong2IntNavigableMap- Angegeben von:
lowerKeyin SchnittstelleNavigableMap<Long,Integer>
-
floorKey
Veraltet.- Angegeben von:
floorKeyin SchnittstelleLong2IntNavigableMap- Angegeben von:
floorKeyin SchnittstelleNavigableMap<Long,Integer>
-
ceilingKey
Veraltet.- Angegeben von:
ceilingKeyin SchnittstelleLong2IntNavigableMap- Angegeben von:
ceilingKeyin SchnittstelleNavigableMap<Long,Integer>
-
higherKey
Veraltet.- Angegeben von:
higherKeyin SchnittstelleLong2IntNavigableMap- Angegeben von:
higherKeyin SchnittstelleNavigableMap<Long,Integer>
-
lowerEntry
Veraltet.- Angegeben von:
lowerEntryin SchnittstelleLong2IntNavigableMap- Angegeben von:
lowerEntryin SchnittstelleNavigableMap<Long,Integer>
-
floorEntry
Veraltet.- Angegeben von:
floorEntryin SchnittstelleLong2IntNavigableMap- Angegeben von:
floorEntryin SchnittstelleNavigableMap<Long,Integer>
-
ceilingEntry
Veraltet.- Angegeben von:
ceilingEntryin SchnittstelleLong2IntNavigableMap- Angegeben von:
ceilingEntryin SchnittstelleNavigableMap<Long,Integer>
-
higherEntry
Veraltet.- Angegeben von:
higherEntryin SchnittstelleLong2IntNavigableMap- Angegeben von:
higherEntryin SchnittstelleNavigableMap<Long,Integer>
-