Modul speiger.src.collections
Klasse Short2LongMaps.SynchronizedSortedMap
java.lang.Object
java.util.AbstractMap<Short,Long>
speiger.src.collections.shorts.maps.abstracts.AbstractShort2LongMap
speiger.src.collections.shorts.utils.maps.Short2LongMaps.SynchronizedMap
speiger.src.collections.shorts.utils.maps.Short2LongMaps.SynchronizedSortedMap
- Alle implementierten Schnittstellen:
Map<Short,,Long> SortedMap<Short,,Long> Short2LongFunction,Short2LongMap,Short2LongSortedMap
- Bekannte direkte Unterklassen:
Short2LongMaps.SynchronizedNavigableMap
- Umschließende Klasse:
Short2LongMaps
public static class Short2LongMaps.SynchronizedSortedMap
extends Short2LongMaps.SynchronizedMap
implements Short2LongSortedMap
The Synchronized Sorted Map implementation used by the synchronizedMap helper function
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.shorts.maps.abstracts.AbstractShort2LongMap
AbstractShort2LongMap.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.shorts.maps.interfaces.Short2LongMap
Short2LongMap.BuilderCache, Short2LongMap.Entry, Short2LongMap.FastEntrySet, Short2LongMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.shorts.maps.interfaces.Short2LongSortedMap
Short2LongSortedMap.FastSortedSet -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcopy()A Function that does a shallow clone of the Map itself.firstKey()Veraltet.longA method to get the first Value of a Map.shortA method to get the first Key of a Map.headMap(short toKey) A Type Specific HeadMap method to reduce boxing/unboxingVeraltet.keySet()lastKey()Veraltet.longA method to get the last Value of a Map.shortA method to get the last Key of a Map.shortA method to get and remove the first Key of a Map.shortA method to get and remove the last Key of a Map.subMap(short fromKey, short toKey) A Type Specific SubMap method to reduce boxing/unboxingVeraltet.tailMap(short fromKey) A Type Specific TailMap method to reduce boxing/unboxingVeraltet.Von Klasse geerbte Methoden speiger.src.collections.shorts.utils.maps.Short2LongMaps.SynchronizedMap
addTo, addToAll, clear, compute, computeIfAbsent, computeIfPresent, computeLong, computeLongIfAbsent, computeLongIfAbsentNonDefault, computeLongIfPresent, computeLongIfPresentNonDefault, computeLongNonDefault, containsKey, containsKey, containsValue, containsValue, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllLong, mergeLong, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceLongs, replaceLongs, setDefaultReturnValue, short2LongEntrySet, size, subFrom, supplyLongIfAbsent, supplyLongIfAbsentNonDefault, valuesVon Klasse geerbte Methoden speiger.src.collections.shorts.maps.abstracts.AbstractShort2LongMap
entrySet, equals, hashCode, putAllVon Klasse geerbte Methoden java.util.AbstractMap
isEmpty, toStringVon Schnittstelle geerbte Methoden speiger.src.collections.shorts.maps.interfaces.Short2LongMap
addTo, addToAll, applyAsLong, compute, computeIfAbsent, computeIfPresent, computeLong, computeLongIfAbsent, computeLongIfAbsentNonDefault, computeLongIfPresent, computeLongIfPresentNonDefault, computeLongNonDefault, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllLong, mergeLong, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceLongs, replaceLongs, setDefaultReturnValue, short2LongEntrySet, subFrom, supplyLongIfAbsent, supplyLongIfAbsentNonDefaultVon Schnittstelle geerbte Methoden speiger.src.collections.shorts.maps.interfaces.Short2LongSortedMap
synchronize, synchronize, unmodifiable, values
-
Methodendetails
-
comparator
- Angegeben von:
comparatorin SchnittstelleShort2LongSortedMap- Angegeben von:
comparatorin SchnittstelleSortedMap<Short,Long>
-
subMap
Beschreibung aus Schnittstelle kopiert:Short2LongSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleShort2LongSortedMap- 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:Short2LongSortedMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleShort2LongSortedMap- 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:Short2LongSortedMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleShort2LongSortedMap- 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 SchnittstelleMap<Short,Long> - Angegeben von:
keySetin SchnittstelleShort2LongMap- Angegeben von:
keySetin SchnittstelleShort2LongSortedMap- Angegeben von:
keySetin SchnittstelleSortedMap<Short,Long> - Setzt außer Kraft:
keySetin KlasseShort2LongMaps.SynchronizedMap
-
firstShortKey
public short firstShortKey()Beschreibung aus Schnittstelle kopiert:Short2LongSortedMapA method to get the first Key of a Map.- Angegeben von:
firstShortKeyin SchnittstelleShort2LongSortedMap- Gibt zurück:
- the first key in the map
-
pollFirstShortKey
public short pollFirstShortKey()Beschreibung aus Schnittstelle kopiert:Short2LongSortedMapA method to get and remove the first Key of a Map.- Angegeben von:
pollFirstShortKeyin SchnittstelleShort2LongSortedMap- Gibt zurück:
- the first key in the map
-
lastShortKey
public short lastShortKey()Beschreibung aus Schnittstelle kopiert:Short2LongSortedMapA method to get the last Key of a Map.- Angegeben von:
lastShortKeyin SchnittstelleShort2LongSortedMap- Gibt zurück:
- the last key in the map
-
pollLastShortKey
public short pollLastShortKey()Beschreibung aus Schnittstelle kopiert:Short2LongSortedMapA method to get and remove the last Key of a Map.- Angegeben von:
pollLastShortKeyin SchnittstelleShort2LongSortedMap- Gibt zurück:
- the last key in the map
-
firstLongValue
public long firstLongValue()Beschreibung aus Schnittstelle kopiert:Short2LongSortedMapA method to get the first Value of a Map.- Angegeben von:
firstLongValuein SchnittstelleShort2LongSortedMap- Gibt zurück:
- the first key in the map
-
lastLongValue
public long lastLongValue()Beschreibung aus Schnittstelle kopiert:Short2LongSortedMapA method to get the last Value of a Map.- Angegeben von:
lastLongValuein SchnittstelleShort2LongSortedMap- Gibt zurück:
- the last key in the map
-
copy
Beschreibung aus Schnittstelle kopiert:Short2LongMapA 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 SchnittstelleShort2LongMap- Angegeben von:
copyin SchnittstelleShort2LongSortedMap- Setzt außer Kraft:
copyin KlasseShort2LongMaps.SynchronizedMap- Gibt zurück:
- a Shallow Copy of the Map
-
firstKey
Veraltet. -
lastKey
Veraltet. -
subMap
Veraltet. -
headMap
Veraltet. -
tailMap
Veraltet.
-