Modul speiger.src.collections
Klasse Object2LongMaps.SynchronizedSortedMap<T>
java.lang.Object
java.util.AbstractMap<T,Long>
speiger.src.collections.objects.maps.abstracts.AbstractObject2LongMap<T>
speiger.src.collections.objects.utils.maps.Object2LongMaps.SynchronizedMap<T>
speiger.src.collections.objects.utils.maps.Object2LongMaps.SynchronizedSortedMap<T>
- Typparameter:
T- the keyType of elements maintained by this Collection
- Alle implementierten Schnittstellen:
ToLongFunction<T>,Map<T,,Long> SortedMap<T,,Long> ToLongFunction<T>,Object2LongMap<T>,Object2LongSortedMap<T>
- Bekannte direkte Unterklassen:
Object2LongMaps.SynchronizedNavigableMap
- Umschließende Klasse:
Object2LongMaps
public static class Object2LongMaps.SynchronizedSortedMap<T>
extends Object2LongMaps.SynchronizedMap<T>
implements Object2LongSortedMap<T>
The Synchronized Sorted Map implementation used by the synchronizedMap helper function
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.objects.maps.abstracts.AbstractObject2LongMap
AbstractObject2LongMap.BasicEntry<T>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.objects.maps.interfaces.Object2LongMap
Object2LongMap.BuilderCache<T>, Object2LongMap.Entry<T>, Object2LongMap.FastEntrySet<T>, Object2LongMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.objects.maps.interfaces.Object2LongSortedMap
Object2LongSortedMap.FastSortedSet<T> -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcopy()A Function that does a shallow clone of the Map itself.firstKey()longA method to get the first Value of a Map.keySet()lastKey()longA method to get the last Value of a Map.A method to get and remove the first Key of a Map.A method to get and remove the last Key of a Map.Von Klasse geerbte Methoden speiger.src.collections.objects.utils.maps.Object2LongMaps.SynchronizedMap
addTo, addToAll, computeLong, computeLongIfAbsent, computeLongIfAbsentNonDefault, computeLongIfPresent, computeLongIfPresentNonDefault, computeLongNonDefault, containsValue, forEach, getDefaultReturnValue, getLong, getOrDefault, mergeAllLong, mergeLong, object2LongEntrySet, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, rem, remOrDefault, remove, replace, replace, replaceLongs, replaceLongs, setDefaultReturnValue, size, subFrom, supplyLongIfAbsent, supplyLongIfAbsentNonDefault, valuesVon Klasse geerbte Methoden speiger.src.collections.objects.maps.abstracts.AbstractObject2LongMap
containsKey, entrySet, equals, get, getOrDefault, hashCode, put, putAll, removeVon Klasse geerbte Methoden java.util.AbstractMap
clear, containsValue, isEmpty, toStringVon Schnittstelle geerbte Methoden java.util.Map
clear, containsKey, equals, hashCode, isEmpty, putAll, sizeVon Schnittstelle geerbte Methoden speiger.src.collections.objects.maps.interfaces.Object2LongMap
addTo, addToAll, applyAsLong, compute, computeIfAbsent, computeIfPresent, computeLong, computeLongIfAbsent, computeLongIfAbsentNonDefault, computeLongIfPresent, computeLongIfPresentNonDefault, computeLongNonDefault, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getLong, getOrDefault, getOrDefault, merge, mergeAllLong, mergeLong, object2LongEntrySet, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, rem, remOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceLongs, replaceLongs, setDefaultReturnValue, subFrom, supplyLongIfAbsent, supplyLongIfAbsentNonDefaultVon Schnittstelle geerbte Methoden speiger.src.collections.objects.maps.interfaces.Object2LongSortedMap
synchronize, synchronize, unmodifiable, values
-
Methodendetails
-
comparator
- Angegeben von:
comparatorin SchnittstelleObject2LongSortedMap<T>- Angegeben von:
comparatorin SchnittstelleSortedMap<T,Long>
-
subMap
-
headMap
-
tailMap
-
keySet
-
firstKey
-
pollFirstKey
Beschreibung aus Schnittstelle kopiert:Object2LongSortedMapA method to get and remove the first Key of a Map.- Angegeben von:
pollFirstKeyin SchnittstelleObject2LongSortedMap<T>- Gibt zurück:
- the first key in the map
-
lastKey
-
pollLastKey
Beschreibung aus Schnittstelle kopiert:Object2LongSortedMapA method to get and remove the last Key of a Map.- Angegeben von:
pollLastKeyin SchnittstelleObject2LongSortedMap<T>- Gibt zurück:
- the last key in the map
-
firstLongValue
public long firstLongValue()Beschreibung aus Schnittstelle kopiert:Object2LongSortedMapA method to get the first Value of a Map.- Angegeben von:
firstLongValuein SchnittstelleObject2LongSortedMap<T>- Gibt zurück:
- the first key in the map
-
lastLongValue
public long lastLongValue()Beschreibung aus Schnittstelle kopiert:Object2LongSortedMapA method to get the last Value of a Map.- Angegeben von:
lastLongValuein SchnittstelleObject2LongSortedMap<T>- Gibt zurück:
- the last key in the map
-
copy
Beschreibung aus Schnittstelle kopiert:Object2LongMapA 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 SchnittstelleObject2LongMap<T>- Angegeben von:
copyin SchnittstelleObject2LongSortedMap<T>- Setzt außer Kraft:
copyin KlasseObject2LongMaps.SynchronizedMap<T>- Gibt zurück:
- a Shallow Copy of the Map
-