Modul speiger.src.collections
Klasse Long2IntMaps.SynchronizedSortedMap
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
- Alle implementierten Schnittstellen:
LongToIntFunction,Map<Long,,Integer> SortedMap<Long,,Integer> Long2IntFunction,Long2IntMap,Long2IntSortedMap
- Bekannte direkte Unterklassen:
Long2IntMaps.SynchronizedNavigableMap
- Umschließende Klasse:
Long2IntMaps
public static class Long2IntMaps.SynchronizedSortedMap
extends Long2IntMaps.SynchronizedMap
implements Long2IntSortedMap
The Synchronized Sorted 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 TypMethodeBeschreibungcopy()A Function that does a shallow clone of the Map itself.intA method to get the first Value of a Map.firstKey()Veraltet.longA method to get the first Key of a Map.headMap(long toKey) A Type Specific HeadMap method to reduce boxing/unboxingVeraltet.keySet()intA method to get the last Value of a Map.lastKey()Veraltet.longA method to get the last Key of a Map.longA method to get and remove the first Key of a Map.longA method to get and remove the last Key of a Map.subMap(long fromKey, long toKey) A Type Specific SubMap method to reduce boxing/unboxingVeraltet.tailMap(long fromKey) A Type Specific TailMap method to reduce boxing/unboxingVeraltet.Von 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.Long2IntSortedMap
synchronize, synchronize, unmodifiable, values
-
Methodendetails
-
comparator
- Angegeben von:
comparatorin SchnittstelleLong2IntSortedMap- Angegeben von:
comparatorin SchnittstelleSortedMap<Long,Integer>
-
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
-
keySet
- Angegeben von:
keySetin SchnittstelleLong2IntMap- Angegeben von:
keySetin SchnittstelleLong2IntSortedMap- Angegeben von:
keySetin SchnittstelleMap<Long,Integer> - Angegeben von:
keySetin SchnittstelleSortedMap<Long,Integer> - Setzt außer Kraft:
keySetin KlasseLong2IntMaps.SynchronizedMap
-
firstLongKey
public long firstLongKey()Beschreibung aus Schnittstelle kopiert:Long2IntSortedMapA method to get the first Key of a Map.- Angegeben von:
firstLongKeyin SchnittstelleLong2IntSortedMap- Gibt zurück:
- the first key in the map
-
pollFirstLongKey
public long pollFirstLongKey()Beschreibung aus Schnittstelle kopiert:Long2IntSortedMapA method to get and remove the first Key of a Map.- Angegeben von:
pollFirstLongKeyin SchnittstelleLong2IntSortedMap- Gibt zurück:
- the first key in the map
-
lastLongKey
public long lastLongKey()Beschreibung aus Schnittstelle kopiert:Long2IntSortedMapA method to get the last Key of a Map.- Angegeben von:
lastLongKeyin SchnittstelleLong2IntSortedMap- Gibt zurück:
- the last key in the map
-
pollLastLongKey
public long pollLastLongKey()Beschreibung aus Schnittstelle kopiert:Long2IntSortedMapA method to get and remove the last Key of a Map.- Angegeben von:
pollLastLongKeyin SchnittstelleLong2IntSortedMap- Gibt zurück:
- the last key in the map
-
firstIntValue
public int firstIntValue()Beschreibung aus Schnittstelle kopiert:Long2IntSortedMapA method to get the first Value of a Map.- Angegeben von:
firstIntValuein SchnittstelleLong2IntSortedMap- Gibt zurück:
- the first key in the map
-
lastIntValue
public int lastIntValue()Beschreibung aus Schnittstelle kopiert:Long2IntSortedMapA method to get the last Value of a Map.- Angegeben von:
lastIntValuein SchnittstelleLong2IntSortedMap- Gibt zurück:
- the last key in the map
-
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- Setzt außer Kraft:
copyin KlasseLong2IntMaps.SynchronizedMap- Gibt zurück:
- a Shallow Copy of the Map
-
firstKey
Veraltet. -
lastKey
Veraltet. -
subMap
Veraltet. -
headMap
Veraltet. -
tailMap
Veraltet.
-