Modul speiger.src.collections
Klasse Long2ObjectMaps.SynchronizedSortedMap<V>
java.lang.Object
java.util.AbstractMap<Long,V>
speiger.src.collections.longs.maps.abstracts.AbstractLong2ObjectMap<V>
speiger.src.collections.longs.utils.maps.Long2ObjectMaps.SynchronizedMap<V>
speiger.src.collections.longs.utils.maps.Long2ObjectMaps.SynchronizedSortedMap<V>
- Typparameter:
V- the keyType of elements maintained by this Collection
- Alle implementierten Schnittstellen:
LongFunction<V>,Map<Long,,V> SortedMap<Long,,V> LongFunction<V>,Long2ObjectMap<V>,Long2ObjectSortedMap<V>
- Bekannte direkte Unterklassen:
Long2ObjectMaps.SynchronizedNavigableMap
- Umschließende Klasse:
Long2ObjectMaps
public static class Long2ObjectMaps.SynchronizedSortedMap<V>
extends Long2ObjectMaps.SynchronizedMap<V>
implements Long2ObjectSortedMap<V>
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.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 TypMethodeBeschreibungcopy()A Function that does a shallow clone of the Map itself.firstKey()Veraltet.longA method to get the first Key of a Map.A method to get the first Value of a Map.headMap(long toKey) A Type Specific HeadMap method to reduce boxing/unboxingVeraltet.keySet()lastKey()Veraltet.longA method to get the last Key of a Map.A method to get the last Value 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.Long2ObjectMaps.SynchronizedMap
clear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, containsValue, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, long2ObjectEntrySet, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, size, supplyIfAbsent, valuesVon Klasse geerbte Methoden speiger.src.collections.longs.maps.abstracts.AbstractLong2ObjectMap
entrySet, equals, hashCode, putAllVon Klasse geerbte Methoden java.util.AbstractMap
isEmpty, 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.Long2ObjectSortedMap
synchronize, synchronize, unmodifiable, values
-
Methodendetails
-
comparator
- Angegeben von:
comparatorin SchnittstelleLong2ObjectSortedMap<V>- Angegeben von:
comparatorin SchnittstelleSortedMap<Long,V>
-
subMap
Beschreibung aus Schnittstelle kopiert:Long2ObjectSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleLong2ObjectSortedMap<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 SchnittstelleLong2ObjectSortedMap<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 SchnittstelleLong2ObjectSortedMap<V>- Parameter:
fromKey- where the TailMap should start- Gibt zurück:
- a TailMap that is within the range of the desired range
-
keySet
-
firstLongKey
public long firstLongKey()Beschreibung aus Schnittstelle kopiert:Long2ObjectSortedMapA method to get the first Key of a Map.- Angegeben von:
firstLongKeyin SchnittstelleLong2ObjectSortedMap<V>- Gibt zurück:
- the first key in the map
-
pollFirstLongKey
public long pollFirstLongKey()Beschreibung aus Schnittstelle kopiert:Long2ObjectSortedMapA method to get and remove the first Key of a Map.- Angegeben von:
pollFirstLongKeyin SchnittstelleLong2ObjectSortedMap<V>- Gibt zurück:
- the first key in the map
-
lastLongKey
public long lastLongKey()Beschreibung aus Schnittstelle kopiert:Long2ObjectSortedMapA method to get the last Key of a Map.- Angegeben von:
lastLongKeyin SchnittstelleLong2ObjectSortedMap<V>- Gibt zurück:
- the last key in the map
-
pollLastLongKey
public long pollLastLongKey()Beschreibung aus Schnittstelle kopiert:Long2ObjectSortedMapA method to get and remove the last Key of a Map.- Angegeben von:
pollLastLongKeyin SchnittstelleLong2ObjectSortedMap<V>- Gibt zurück:
- the last key in the map
-
firstValue
Beschreibung aus Schnittstelle kopiert:Long2ObjectSortedMapA method to get the first Value of a Map.- Angegeben von:
firstValuein SchnittstelleLong2ObjectSortedMap<V>- Gibt zurück:
- the first key in the map
-
lastValue
Beschreibung aus Schnittstelle kopiert:Long2ObjectSortedMapA method to get the last Value of a Map.- Angegeben von:
lastValuein SchnittstelleLong2ObjectSortedMap<V>- Gibt zurück:
- the last key in the map
-
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 SchnittstelleLong2ObjectSortedMap<V>- Setzt außer Kraft:
copyin KlasseLong2ObjectMaps.SynchronizedMap<V>- Gibt zurück:
- a Shallow Copy of the Map
-
firstKey
Veraltet. -
lastKey
Veraltet. -
subMap
Veraltet. -
headMap
Veraltet. -
tailMap
Veraltet.
-