Modul speiger.src.collections
Schnittstelle Long2IntNavigableMap
- Alle Superschnittstellen:
Long2IntFunction,Long2IntMap,Long2IntSortedMap,LongToIntFunction,Map<Long,,Integer> NavigableMap<Long,,Integer> SortedMap<Long,Integer>
- Alle bekannten Implementierungsklassen:
Long2IntAVLTreeMap,Long2IntMaps.SynchronizedNavigableMap,Long2IntMaps.UnmodifyableNavigableMap,Long2IntRBTreeMap
A Type Specific Navigable Map interface with a couple helper methods
-
Verschachtelte Klassen - Übersicht
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.default Long2IntMap.EntryceilingEntry(Long key) Veraltet.longceilingKey(long key) A Type Specific ceilingKey method to reduce boxing/unboxing.default LongceilingKey(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.default Long2IntMap.EntryfloorEntry(Long key) Veraltet.longfloorKey(long key) A Type Specific floorKey method to reduce boxing/unboxing.default LongVeraltet.longA Helper method to get the max value for SubMaps.longA Helper method to get the min value for SubMaps.default Long2IntNavigableMapheadMap(long toKey) A Type Specific HeadMap method to reduce boxing/unboxingheadMap(long toKey, boolean inclusive) A Type Specific HeadMap method to reduce boxing/unboxingdefault Long2IntNavigableMapVeraltet.default Long2IntNavigableMapVeraltet.higherEntry(long key) A Type Specific higherEntry method to reduce boxing/unboxing.default Long2IntMap.EntryhigherEntry(Long key) Veraltet.longhigherKey(long key) A Type Specific higherKey method to reduce boxing/unboxing.default LongVeraltet.keySet()lowerEntry(long key) A Type Specific lowerEntry method to reduce boxing/unboxing.default Long2IntMap.EntrylowerEntry(Long key) Veraltet.longlowerKey(long key) A Type Specific lowerKey method to reduce boxing/unboxing.default LongVeraltet.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/unboxingdefault Long2IntNavigableMapsubMap(long fromKey, long toKey) A Type Specific SubMap method to reduce boxing/unboxingdefault Long2IntNavigableMapVeraltet.default Long2IntNavigableMapVeraltet.default Long2IntNavigableMapCreates a Wrapped NavigableMap that is Synchronizeddefault Long2IntNavigableMapsynchronize(Object mutex) Creates a Wrapped NavigableMap that is Synchronizeddefault Long2IntNavigableMaptailMap(long fromKey) A Type Specific TailMap method to reduce boxing/unboxingtailMap(long fromKey, boolean inclusive) A Type Specific TailMap method to reduce boxing/unboxingdefault Long2IntNavigableMapVeraltet.default Long2IntNavigableMapVeraltet.default Long2IntNavigableMapCreates a Wrapped NavigableMap that is unmodifiableVon 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.Long2IntSortedMap
comparator, firstIntValue, firstKey, firstLongKey, lastIntValue, lastKey, lastLongKey, pollFirstLongKey, pollLastLongKey, values
-
Methodendetails
-
copy
Long2IntNavigableMap 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 SchnittstelleLong2IntSortedMap- Gibt zurück:
- a Shallow Copy of the Map
-
descendingMap
Long2IntNavigableMap descendingMap()- Angegeben von:
descendingMapin SchnittstelleNavigableMap<Long,Integer> - Gibt zurück:
- a Type Specific desendingMap
-
descendingKeySet
LongNavigableSet descendingKeySet()- Angegeben von:
descendingKeySetin SchnittstelleNavigableMap<Long,Integer> - Gibt zurück:
- a Type Specific Desending Key Set
-
firstEntry
Long2IntMap.Entry firstEntry()- Angegeben von:
firstEntryin SchnittstelleNavigableMap<Long,Integer> - Gibt zurück:
- a Type Specific firstEntry
-
lastEntry
Long2IntMap.Entry lastEntry()- Angegeben von:
lastEntryin SchnittstelleNavigableMap<Long,Integer> - Gibt zurück:
- a Type Specific lastEntry
-
pollFirstEntry
Long2IntMap.Entry pollFirstEntry()- Angegeben von:
pollFirstEntryin SchnittstelleNavigableMap<Long,Integer> - Gibt zurück:
- a Type Specific pollFirstEntry
-
pollLastEntry
Long2IntMap.Entry pollLastEntry()- Angegeben von:
pollLastEntryin SchnittstelleNavigableMap<Long,Integer> - Gibt zurück:
- a Type Specific pollLastEntry
-
keySet
LongNavigableSet keySet() -
synchronize
Creates a Wrapped NavigableMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleLong2IntMap- Angegeben von:
synchronizein SchnittstelleLong2IntSortedMap- Gibt zurück:
- a new NavigableMap that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped NavigableMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleLong2IntMap- Angegeben von:
synchronizein SchnittstelleLong2IntSortedMap- Parameter:
mutex- is the controller of the synchronization block- Gibt zurück:
- a new NavigableMap Wrapper that is synchronized
- Siehe auch:
-
unmodifiable
Creates a Wrapped NavigableMap that is unmodifiable- Angegeben von:
unmodifiablein SchnittstelleLong2IntMap- Angegeben von:
unmodifiablein SchnittstelleLong2IntSortedMap- Gibt zurück:
- a new NavigableMap Wrapper that is unmodifiable
- Siehe auch:
-
subMap
A Type Specific SubMap method to reduce boxing/unboxing- 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
A Type Specific HeadMap method to reduce boxing/unboxing- 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
A Type Specific TailMap method to reduce boxing/unboxing- 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 SchnittstelleLong2IntSortedMap- 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 SchnittstelleLong2IntSortedMap- 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 SchnittstelleLong2IntSortedMap- Parameter:
fromKey- where the TailMap should start- Gibt zurück:
- a TailMap that is within the range of the desired range
-
setDefaultMaxValue
void setDefaultMaxValue(long e) A Helper method to set the max value for SubMaps. (Default: long.MIN_VALUE)- Parameter:
e- the new max value
-
getDefaultMaxValue
long getDefaultMaxValue()A Helper method to get the max value for SubMaps.- Gibt zurück:
- the default max value.
-
setDefaultMinValue
void setDefaultMinValue(long e) A Helper method to set the min value for SubMaps. (Default: long.MAX_VALUE)- Parameter:
e- the new min value
-
getDefaultMinValue
long getDefaultMinValue()A Helper method to get the min value for SubMaps.- Gibt zurück:
- the default min value.
-
lowerKey
long lowerKey(long key) A Type Specific lowerKey method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower key that can be found
-
higherKey
long higherKey(long key) A Type Specific higherKey method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher key that can be found
-
floorKey
long floorKey(long key) A Type Specific floorKey method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower or equal key that can be found
-
ceilingKey
long ceilingKey(long key) A Type Specific ceilingKey method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher or equal key that can be found
-
lowerEntry
A Type Specific lowerEntry method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower entry that can be found, or null
-
higherEntry
A Type Specific higherEntry method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher entry that can be found, or null
-
floorEntry
A Type Specific floorEntry method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower or equal entry that can be found, or null
-
ceilingEntry
A Type Specific ceilingEntry method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher or equal entry that can be found, or null
-
lowerKey
Veraltet.- Angegeben von:
lowerKeyin SchnittstelleNavigableMap<Long,Integer>
-
floorKey
Veraltet.- Angegeben von:
floorKeyin SchnittstelleNavigableMap<Long,Integer>
-
ceilingKey
Veraltet.- Angegeben von:
ceilingKeyin SchnittstelleNavigableMap<Long,Integer>
-
higherKey
Veraltet.- Angegeben von:
higherKeyin SchnittstelleNavigableMap<Long,Integer>
-
lowerEntry
Veraltet.- Angegeben von:
lowerEntryin SchnittstelleNavigableMap<Long,Integer>
-
floorEntry
Veraltet.- Angegeben von:
floorEntryin SchnittstelleNavigableMap<Long,Integer>
-
ceilingEntry
Veraltet.- Angegeben von:
ceilingEntryin SchnittstelleNavigableMap<Long,Integer>
-
higherEntry
Veraltet.- Angegeben von:
higherEntryin SchnittstelleNavigableMap<Long,Integer>
-
subMap
@Deprecated default Long2IntNavigableMap subMap(Long fromKey, boolean fromInclusive, Long toKey, boolean toInclusive) Veraltet.- Angegeben von:
subMapin SchnittstelleNavigableMap<Long,Integer>
-
headMap
Veraltet.- Angegeben von:
headMapin SchnittstelleNavigableMap<Long,Integer>
-
tailMap
Veraltet.- Angegeben von:
tailMapin SchnittstelleNavigableMap<Long,Integer>
-
subMap
Veraltet.- Angegeben von:
subMapin SchnittstelleLong2IntSortedMap- Angegeben von:
subMapin SchnittstelleNavigableMap<Long,Integer> - Angegeben von:
subMapin SchnittstelleSortedMap<Long,Integer>
-
headMap
Veraltet.- Angegeben von:
headMapin SchnittstelleLong2IntSortedMap- Angegeben von:
headMapin SchnittstelleNavigableMap<Long,Integer> - Angegeben von:
headMapin SchnittstelleSortedMap<Long,Integer>
-
tailMap
Veraltet.- Angegeben von:
tailMapin SchnittstelleLong2IntSortedMap- Angegeben von:
tailMapin SchnittstelleNavigableMap<Long,Integer> - Angegeben von:
tailMapin SchnittstelleSortedMap<Long,Integer>
-