Modul speiger.src.collections
Klasse Double2ShortMaps.UnmodifyableNavigableMap
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
speiger.src.collections.doubles.utils.maps.Double2ShortMaps.UnmodifyableNavigableMap
- Alle implementierten Schnittstellen:
Map<Double,,Short> NavigableMap<Double,,Short> SortedMap<Double,,Short> Double2ShortFunction,Double2ShortMap,Double2ShortNavigableMap,Double2ShortSortedMap
- Umschließende Klasse:
Double2ShortMaps
public static class Double2ShortMaps.UnmodifyableNavigableMap
extends Double2ShortMaps.UnmodifyableSortedMap
implements Double2ShortNavigableMap
The Unmodifyable Navigable 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 TypMethodeBeschreibungceilingEntry(double key) A Type Specific ceilingEntry method to reduce boxing/unboxing.doubleceilingKey(double key) A Type Specific ceilingKey method to reduce boxing/unboxing.copy()A Function that does a shallow clone of the Map itself.floorEntry(double key) A Type Specific floorEntry method to reduce boxing/unboxing.doublefloorKey(double key) A Type Specific floorKey method to reduce boxing/unboxing.doubleA Helper method to get the max value for SubMaps.doubleA Helper method to get the min value for SubMaps.headMap(double toKey) A Type Specific HeadMap method to reduce boxing/unboxingheadMap(double toKey, boolean inclusive) A Type Specific HeadMap method to reduce boxing/unboxinghigherEntry(double key) A Type Specific higherEntry method to reduce boxing/unboxing.doublehigherKey(double key) A Type Specific higherKey method to reduce boxing/unboxing.keySet()lowerEntry(double key) A Type Specific lowerEntry method to reduce boxing/unboxing.doublelowerKey(double key) A Type Specific lowerKey method to reduce boxing/unboxing.voidsetDefaultMaxValue(double e) A Helper method to set the max value for SubMaps.voidsetDefaultMinValue(double e) A Helper method to set the min value for SubMaps.subMap(double fromKey, boolean fromInclusive, double toKey, boolean toInclusive) A Type Specific SubMap method to reduce boxing/unboxingsubMap(double fromKey, double toKey) A Type Specific SubMap method to reduce boxing/unboxingtailMap(double fromKey) A Type Specific TailMap method to reduce boxing/unboxingtailMap(double fromKey, boolean inclusive) A Type Specific TailMap method to reduce boxing/unboxingVon Klasse geerbte Methoden speiger.src.collections.doubles.utils.maps.Double2ShortMaps.UnmodifyableSortedMap
comparator, firstDoubleKey, firstShortValue, lastDoubleKey, lastShortValue, pollFirstDoubleKey, pollLastDoubleKeyVon 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.Double2ShortNavigableMap
ceilingEntry, ceilingKey, floorEntry, floorKey, headMap, headMap, higherEntry, higherKey, lowerEntry, lowerKey, subMap, subMap, synchronize, synchronize, tailMap, tailMap, unmodifiableVon Schnittstelle geerbte Methoden speiger.src.collections.doubles.maps.interfaces.Double2ShortSortedMap
comparator, firstDoubleKey, firstKey, firstShortValue, lastDoubleKey, lastKey, lastShortValue, pollFirstDoubleKey, pollLastDoubleKey, values
-
Methodendetails
-
descendingMap
- Angegeben von:
descendingMapin SchnittstelleDouble2ShortNavigableMap- Angegeben von:
descendingMapin SchnittstelleNavigableMap<Double,Short> - Gibt zurück:
- a Type Specific desendingMap
-
keySet
- Angegeben von:
keySetin SchnittstelleDouble2ShortMap- Angegeben von:
keySetin SchnittstelleDouble2ShortNavigableMap- Angegeben von:
keySetin SchnittstelleDouble2ShortSortedMap- Angegeben von:
keySetin SchnittstelleMap<Double,Short> - Angegeben von:
keySetin SchnittstelleSortedMap<Double,Short> - Setzt außer Kraft:
keySetin KlasseDouble2ShortMaps.UnmodifyableSortedMap- Gibt zurück:
- a Type Specific Navigable Key Set
-
descendingKeySet
- Angegeben von:
descendingKeySetin SchnittstelleDouble2ShortNavigableMap- Angegeben von:
descendingKeySetin SchnittstelleNavigableMap<Double,Short> - Gibt zurück:
- a Type Specific Desending Key Set
-
firstEntry
- Angegeben von:
firstEntryin SchnittstelleDouble2ShortNavigableMap- Angegeben von:
firstEntryin SchnittstelleNavigableMap<Double,Short> - Gibt zurück:
- a Type Specific firstEntry
-
lastEntry
- Angegeben von:
lastEntryin SchnittstelleDouble2ShortNavigableMap- Angegeben von:
lastEntryin SchnittstelleNavigableMap<Double,Short> - Gibt zurück:
- a Type Specific lastEntry
-
pollFirstEntry
- Angegeben von:
pollFirstEntryin SchnittstelleDouble2ShortNavigableMap- Angegeben von:
pollFirstEntryin SchnittstelleNavigableMap<Double,Short> - Gibt zurück:
- a Type Specific pollFirstEntry
-
pollLastEntry
- Angegeben von:
pollLastEntryin SchnittstelleDouble2ShortNavigableMap- Angegeben von:
pollLastEntryin SchnittstelleNavigableMap<Double,Short> - Gibt zurück:
- a Type Specific pollLastEntry
-
subMap
public Double2ShortNavigableMap subMap(double fromKey, boolean fromInclusive, double toKey, boolean toInclusive) Beschreibung aus Schnittstelle kopiert:Double2ShortNavigableMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleDouble2ShortNavigableMap- Parameter:
fromKey- where the submap should startfromInclusive- if the fromKey is inclusive or nottoKey- where the subMap should endtoInclusive- if the toKey is inclusive or not- Gibt zurück:
- a SubMap that is within the range of the desired range
-
headMap
Beschreibung aus Schnittstelle kopiert:Double2ShortNavigableMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleDouble2ShortNavigableMap- Parameter:
toKey- where the HeadMap should endinclusive- if the toKey is inclusive or not- Gibt zurück:
- a HeadMap that is within the range of the desired range
-
tailMap
Beschreibung aus Schnittstelle kopiert:Double2ShortNavigableMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleDouble2ShortNavigableMap- Parameter:
fromKey- where the TailMap should startinclusive- if the fromKey is inclusive or not- Gibt zurück:
- a TailMap that is within the range of the desired range
-
subMap
Beschreibung aus Schnittstelle kopiert:Double2ShortSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleDouble2ShortNavigableMap- Angegeben von:
subMapin SchnittstelleDouble2ShortSortedMap- Setzt außer Kraft:
subMapin KlasseDouble2ShortMaps.UnmodifyableSortedMap- 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 SchnittstelleDouble2ShortNavigableMap- Angegeben von:
headMapin SchnittstelleDouble2ShortSortedMap- Setzt außer Kraft:
headMapin KlasseDouble2ShortMaps.UnmodifyableSortedMap- 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 SchnittstelleDouble2ShortNavigableMap- Angegeben von:
tailMapin SchnittstelleDouble2ShortSortedMap- Setzt außer Kraft:
tailMapin KlasseDouble2ShortMaps.UnmodifyableSortedMap- Parameter:
fromKey- where the TailMap should start- Gibt zurück:
- a TailMap that is within the range of the desired range
-
setDefaultMaxValue
public void setDefaultMaxValue(double e) Beschreibung aus Schnittstelle kopiert:Double2ShortNavigableMapA Helper method to set the max value for SubMaps. (Default: double.MIN_VALUE)- Angegeben von:
setDefaultMaxValuein SchnittstelleDouble2ShortNavigableMap- Parameter:
e- the new max value
-
getDefaultMaxValue
public double getDefaultMaxValue()Beschreibung aus Schnittstelle kopiert:Double2ShortNavigableMapA Helper method to get the max value for SubMaps.- Angegeben von:
getDefaultMaxValuein SchnittstelleDouble2ShortNavigableMap- Gibt zurück:
- the default max value.
-
setDefaultMinValue
public void setDefaultMinValue(double e) Beschreibung aus Schnittstelle kopiert:Double2ShortNavigableMapA Helper method to set the min value for SubMaps. (Default: double.MAX_VALUE)- Angegeben von:
setDefaultMinValuein SchnittstelleDouble2ShortNavigableMap- Parameter:
e- the new min value
-
getDefaultMinValue
public double getDefaultMinValue()Beschreibung aus Schnittstelle kopiert:Double2ShortNavigableMapA Helper method to get the min value for SubMaps.- Angegeben von:
getDefaultMinValuein SchnittstelleDouble2ShortNavigableMap- Gibt zurück:
- the default min value.
-
lowerKey
public double lowerKey(double key) Beschreibung aus Schnittstelle kopiert:Double2ShortNavigableMapA Type Specific lowerKey method to reduce boxing/unboxing.- Angegeben von:
lowerKeyin SchnittstelleDouble2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower key that can be found
-
higherKey
public double higherKey(double key) Beschreibung aus Schnittstelle kopiert:Double2ShortNavigableMapA Type Specific higherKey method to reduce boxing/unboxing.- Angegeben von:
higherKeyin SchnittstelleDouble2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher key that can be found
-
floorKey
public double floorKey(double key) Beschreibung aus Schnittstelle kopiert:Double2ShortNavigableMapA Type Specific floorKey method to reduce boxing/unboxing.- Angegeben von:
floorKeyin SchnittstelleDouble2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower or equal key that can be found
-
ceilingKey
public double ceilingKey(double key) Beschreibung aus Schnittstelle kopiert:Double2ShortNavigableMapA Type Specific ceilingKey method to reduce boxing/unboxing.- Angegeben von:
ceilingKeyin SchnittstelleDouble2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher or equal key that can be found
-
lowerEntry
Beschreibung aus Schnittstelle kopiert:Double2ShortNavigableMapA Type Specific lowerEntry method to reduce boxing/unboxing.- Angegeben von:
lowerEntryin SchnittstelleDouble2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower entry that can be found, or null
-
higherEntry
Beschreibung aus Schnittstelle kopiert:Double2ShortNavigableMapA Type Specific higherEntry method to reduce boxing/unboxing.- Angegeben von:
higherEntryin SchnittstelleDouble2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher entry that can be found, or null
-
floorEntry
Beschreibung aus Schnittstelle kopiert:Double2ShortNavigableMapA Type Specific floorEntry method to reduce boxing/unboxing.- Angegeben von:
floorEntryin SchnittstelleDouble2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower or equal entry that can be found, or null
-
ceilingEntry
Beschreibung aus Schnittstelle kopiert:Double2ShortNavigableMapA Type Specific ceilingEntry method to reduce boxing/unboxing.- Angegeben von:
ceilingEntryin SchnittstelleDouble2ShortNavigableMap- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher or equal entry that can be found, or null
-
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 SchnittstelleDouble2ShortNavigableMap- Angegeben von:
copyin SchnittstelleDouble2ShortSortedMap- Setzt außer Kraft:
copyin KlasseDouble2ShortMaps.UnmodifyableSortedMap- Gibt zurück:
- a Shallow Copy of the Map
-