Modul speiger.src.collections
Klasse Double2ShortMaps.UnmodifyableSortedMap
java.lang.Object
java.util.AbstractMap<Double,Short>
speiger.src.collections.doubles.maps.abstracts.AbstractDouble2ShortMap
speiger.src.collections.doubles.utils.maps.Double2ShortMaps.UnmodifyableMap
speiger.src.collections.doubles.utils.maps.Double2ShortMaps.UnmodifyableSortedMap
- Alle implementierten Schnittstellen:
Map<Double,,Short> SortedMap<Double,,Short> Double2ShortFunction,Double2ShortMap,Double2ShortSortedMap
- Bekannte direkte Unterklassen:
Double2ShortMaps.UnmodifyableNavigableMap
- Umschließende Klasse:
Double2ShortMaps
public static class Double2ShortMaps.UnmodifyableSortedMap
extends Double2ShortMaps.UnmodifyableMap
implements Double2ShortSortedMap
The Unmodifyable Sorted Map implementation that is sued for the unmodifyableMap function
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.doubles.maps.abstracts.AbstractDouble2ShortMap
AbstractDouble2ShortMap.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.doubles.maps.interfaces.Double2ShortMap
Double2ShortMap.BuilderCache, Double2ShortMap.Entry, Double2ShortMap.FastEntrySet, Double2ShortMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.doubles.maps.interfaces.Double2ShortSortedMap
Double2ShortSortedMap.FastSortedSet -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcopy()A Function that does a shallow clone of the Map itself.doubleA method to get the first Key of a Map.shortA method to get the first Value of a Map.headMap(double toKey) A Type Specific HeadMap method to reduce boxing/unboxingkeySet()doubleA method to get the last Key of a Map.shortA method to get the last Value of a Map.doubleA method to get and remove the first Key of a Map.doubleA method to get and remove the last Key of a Map.subMap(double fromKey, double toKey) A Type Specific SubMap method to reduce boxing/unboxingtailMap(double fromKey) A Type Specific TailMap method to reduce boxing/unboxingVon Klasse geerbte Methoden speiger.src.collections.doubles.utils.maps.Double2ShortMaps.UnmodifyableMap
addTo, clear, computeShort, computeShortIfAbsent, computeShortIfAbsentNonDefault, computeShortIfPresent, computeShortIfPresentNonDefault, computeShortNonDefault, double2ShortEntrySet, get, getOrDefault, mergeAllShort, mergeShort, put, putIfAbsent, remove, remove, removeOrDefault, replaceShorts, replaceShorts, subFrom, supplyShortIfAbsent, supplyShortIfAbsentNonDefault, valuesVon Klasse geerbte Methoden speiger.src.collections.doubles.maps.abstracts.AbstractDouble2ShortMap
addToAll, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, put, putAll, putAll, putAll, putAll, putAllIfAbsent, remove, replace, replace, setDefaultReturnValueVon Klasse geerbte Methoden java.util.AbstractMap
containsKey, containsValue, isEmpty, size, toStringVon Schnittstelle geerbte Methoden speiger.src.collections.doubles.maps.interfaces.Double2ShortMap
addTo, addToAll, applyAsShort, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfAbsentNonDefault, computeShortIfPresent, computeShortIfPresentNonDefault, computeShortNonDefault, containsKey, containsKey, containsValue, containsValue, double2ShortEntrySet, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, 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.doubles.maps.interfaces.Double2ShortSortedMap
firstKey, headMap, lastKey, subMap, synchronize, synchronize, tailMap, unmodifiable, values
-
Methodendetails
-
comparator
- Angegeben von:
comparatorin SchnittstelleDouble2ShortSortedMap- Angegeben von:
comparatorin SchnittstelleSortedMap<Double,Short>
-
subMap
Beschreibung aus Schnittstelle kopiert:Double2ShortSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleDouble2ShortSortedMap- 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:Double2ShortSortedMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleDouble2ShortSortedMap- 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:Double2ShortSortedMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleDouble2ShortSortedMap- 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 SchnittstelleDouble2ShortMap- Angegeben von:
keySetin SchnittstelleDouble2ShortSortedMap- Angegeben von:
keySetin SchnittstelleMap<Double,Short> - Angegeben von:
keySetin SchnittstelleSortedMap<Double,Short> - Setzt außer Kraft:
keySetin KlasseDouble2ShortMaps.UnmodifyableMap
-
firstDoubleKey
public double firstDoubleKey()Beschreibung aus Schnittstelle kopiert:Double2ShortSortedMapA method to get the first Key of a Map.- Angegeben von:
firstDoubleKeyin SchnittstelleDouble2ShortSortedMap- Gibt zurück:
- the first key in the map
-
pollFirstDoubleKey
public double pollFirstDoubleKey()Beschreibung aus Schnittstelle kopiert:Double2ShortSortedMapA method to get and remove the first Key of a Map.- Angegeben von:
pollFirstDoubleKeyin SchnittstelleDouble2ShortSortedMap- Gibt zurück:
- the first key in the map
-
lastDoubleKey
public double lastDoubleKey()Beschreibung aus Schnittstelle kopiert:Double2ShortSortedMapA method to get the last Key of a Map.- Angegeben von:
lastDoubleKeyin SchnittstelleDouble2ShortSortedMap- Gibt zurück:
- the last key in the map
-
pollLastDoubleKey
public double pollLastDoubleKey()Beschreibung aus Schnittstelle kopiert:Double2ShortSortedMapA method to get and remove the last Key of a Map.- Angegeben von:
pollLastDoubleKeyin SchnittstelleDouble2ShortSortedMap- Gibt zurück:
- the last key in the map
-
firstShortValue
public short firstShortValue()Beschreibung aus Schnittstelle kopiert:Double2ShortSortedMapA method to get the first Value of a Map.- Angegeben von:
firstShortValuein SchnittstelleDouble2ShortSortedMap- Gibt zurück:
- the first key in the map
-
lastShortValue
public short lastShortValue()Beschreibung aus Schnittstelle kopiert:Double2ShortSortedMapA method to get the last Value of a Map.- Angegeben von:
lastShortValuein SchnittstelleDouble2ShortSortedMap- Gibt zurück:
- the last key in the map
-
copy
Beschreibung aus Schnittstelle kopiert:Double2ShortMapA 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 SchnittstelleDouble2ShortMap- Angegeben von:
copyin SchnittstelleDouble2ShortSortedMap- Setzt außer Kraft:
copyin KlasseDouble2ShortMaps.UnmodifyableMap- Gibt zurück:
- a Shallow Copy of the Map
-