Modul speiger.src.collections
Klasse Long2ShortMaps.SynchronizedSortedMap
java.lang.Object
java.util.AbstractMap<Long,Short>
speiger.src.collections.longs.maps.abstracts.AbstractLong2ShortMap
speiger.src.collections.longs.utils.maps.Long2ShortMaps.SynchronizedMap
speiger.src.collections.longs.utils.maps.Long2ShortMaps.SynchronizedSortedMap
- Alle implementierten Schnittstellen:
Map<Long,,Short> SortedMap<Long,,Short> Long2ShortFunction,Long2ShortMap,Long2ShortSortedMap
- Bekannte direkte Unterklassen:
Long2ShortMaps.SynchronizedNavigableMap
- Umschließende Klasse:
Long2ShortMaps
public static class Long2ShortMaps.SynchronizedSortedMap
extends Long2ShortMaps.SynchronizedMap
implements Long2ShortSortedMap
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.AbstractLong2ShortMap
AbstractLong2ShortMap.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.Long2ShortMap
Long2ShortMap.BuilderCache, Long2ShortMap.Entry, Long2ShortMap.FastEntrySet, Long2ShortMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.longs.maps.interfaces.Long2ShortSortedMap
Long2ShortSortedMap.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 Key of a Map.shortA 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.shortA 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.Long2ShortMaps.SynchronizedMap
addTo, addToAll, clear, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfAbsentNonDefault, computeShortIfPresent, computeShortIfPresentNonDefault, computeShortNonDefault, containsKey, containsKey, containsValue, containsValue, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, long2ShortEntrySet, merge, mergeAllShort, mergeShort, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValue, size, subFrom, supplyShortIfAbsent, supplyShortIfAbsentNonDefault, valuesVon Klasse geerbte Methoden speiger.src.collections.longs.maps.abstracts.AbstractLong2ShortMap
entrySet, equals, hashCode, putAllVon Klasse geerbte Methoden java.util.AbstractMap
isEmpty, toStringVon Schnittstelle geerbte Methoden speiger.src.collections.longs.maps.interfaces.Long2ShortMap
addTo, addToAll, applyAsShort, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfAbsentNonDefault, computeShortIfPresent, computeShortIfPresentNonDefault, computeShortNonDefault, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, long2ShortEntrySet, merge, mergeAllShort, mergeShort, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValue, subFrom, supplyShortIfAbsent, supplyShortIfAbsentNonDefaultVon Schnittstelle geerbte Methoden speiger.src.collections.longs.maps.interfaces.Long2ShortSortedMap
synchronize, synchronize, unmodifiable, values
-
Methodendetails
-
comparator
- Angegeben von:
comparatorin SchnittstelleLong2ShortSortedMap- Angegeben von:
comparatorin SchnittstelleSortedMap<Long,Short>
-
subMap
Beschreibung aus Schnittstelle kopiert:Long2ShortSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleLong2ShortSortedMap- 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:Long2ShortSortedMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleLong2ShortSortedMap- 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:Long2ShortSortedMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleLong2ShortSortedMap- 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 SchnittstelleLong2ShortMap- Angegeben von:
keySetin SchnittstelleLong2ShortSortedMap- Angegeben von:
keySetin SchnittstelleMap<Long,Short> - Angegeben von:
keySetin SchnittstelleSortedMap<Long,Short> - Setzt außer Kraft:
keySetin KlasseLong2ShortMaps.SynchronizedMap
-
firstLongKey
public long firstLongKey()Beschreibung aus Schnittstelle kopiert:Long2ShortSortedMapA method to get the first Key of a Map.- Angegeben von:
firstLongKeyin SchnittstelleLong2ShortSortedMap- Gibt zurück:
- the first key in the map
-
pollFirstLongKey
public long pollFirstLongKey()Beschreibung aus Schnittstelle kopiert:Long2ShortSortedMapA method to get and remove the first Key of a Map.- Angegeben von:
pollFirstLongKeyin SchnittstelleLong2ShortSortedMap- Gibt zurück:
- the first key in the map
-
lastLongKey
public long lastLongKey()Beschreibung aus Schnittstelle kopiert:Long2ShortSortedMapA method to get the last Key of a Map.- Angegeben von:
lastLongKeyin SchnittstelleLong2ShortSortedMap- Gibt zurück:
- the last key in the map
-
pollLastLongKey
public long pollLastLongKey()Beschreibung aus Schnittstelle kopiert:Long2ShortSortedMapA method to get and remove the last Key of a Map.- Angegeben von:
pollLastLongKeyin SchnittstelleLong2ShortSortedMap- Gibt zurück:
- the last key in the map
-
firstShortValue
public short firstShortValue()Beschreibung aus Schnittstelle kopiert:Long2ShortSortedMapA method to get the first Value of a Map.- Angegeben von:
firstShortValuein SchnittstelleLong2ShortSortedMap- Gibt zurück:
- the first key in the map
-
lastShortValue
public short lastShortValue()Beschreibung aus Schnittstelle kopiert:Long2ShortSortedMapA method to get the last Value of a Map.- Angegeben von:
lastShortValuein SchnittstelleLong2ShortSortedMap- Gibt zurück:
- the last key in the map
-
copy
Beschreibung aus Schnittstelle kopiert:Long2ShortMapA 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 SchnittstelleLong2ShortMap- Angegeben von:
copyin SchnittstelleLong2ShortSortedMap- Setzt außer Kraft:
copyin KlasseLong2ShortMaps.SynchronizedMap- Gibt zurück:
- a Shallow Copy of the Map
-
firstKey
Veraltet. -
lastKey
Veraltet. -
subMap
Veraltet. -
headMap
Veraltet. -
tailMap
Veraltet.
-