Modul speiger.src.collections
Klasse Double2ObjectMaps.UnmodifyableNavigableMap<V>
java.lang.Object
java.util.AbstractMap<Double,V>
speiger.src.collections.doubles.maps.abstracts.AbstractDouble2ObjectMap<V>
speiger.src.collections.doubles.utils.maps.Double2ObjectMaps.UnmodifyableMap<V>
speiger.src.collections.doubles.utils.maps.Double2ObjectMaps.UnmodifyableSortedMap<V>
speiger.src.collections.doubles.utils.maps.Double2ObjectMaps.UnmodifyableNavigableMap<V>
- Typparameter:
V- the keyType of elements maintained by this Collection
- Alle implementierten Schnittstellen:
DoubleFunction<V>,Map<Double,,V> NavigableMap<Double,,V> SortedMap<Double,,V> DoubleFunction<V>,Double2ObjectMap<V>,Double2ObjectNavigableMap<V>,Double2ObjectSortedMap<V>
- Umschließende Klasse:
Double2ObjectMaps
public static class Double2ObjectMaps.UnmodifyableNavigableMap<V>
extends Double2ObjectMaps.UnmodifyableSortedMap<V>
implements Double2ObjectNavigableMap<V>
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.AbstractDouble2ObjectMap
AbstractDouble2ObjectMap.BasicEntry<V>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.doubles.maps.interfaces.Double2ObjectMap
Double2ObjectMap.BuilderCache<V>, Double2ObjectMap.Entry<V>, Double2ObjectMap.FastEntrySet<V>, Double2ObjectMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.doubles.maps.interfaces.Double2ObjectSortedMap
Double2ObjectSortedMap.FastSortedSet<V> -
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.Double2ObjectMaps.UnmodifyableSortedMap
comparator, firstDoubleKey, firstValue, lastDoubleKey, lastValue, pollFirstDoubleKey, pollLastDoubleKeyVon Klasse geerbte Methoden speiger.src.collections.doubles.utils.maps.Double2ObjectMaps.UnmodifyableMap
clear, compute, computeIfAbsent, computeIfPresent, double2ObjectEntrySet, get, getOrDefault, merge, mergeAll, put, putIfAbsent, remove, remove, removeOrDefault, replaceObjects, replaceObjects, supplyIfAbsent, valuesVon Klasse geerbte Methoden speiger.src.collections.doubles.maps.abstracts.AbstractDouble2ObjectMap
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, isEmpty, size, toStringVon Schnittstelle geerbte Methoden speiger.src.collections.doubles.maps.interfaces.Double2ObjectMap
apply, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, double2ObjectEntrySet, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, supplyIfAbsentVon Schnittstelle geerbte Methoden speiger.src.collections.doubles.maps.interfaces.Double2ObjectNavigableMap
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.Double2ObjectSortedMap
comparator, firstDoubleKey, firstKey, firstValue, lastDoubleKey, lastKey, lastValue, pollFirstDoubleKey, pollLastDoubleKey, values
-
Methodendetails
-
descendingMap
- Angegeben von:
descendingMapin SchnittstelleDouble2ObjectNavigableMap<V>- Angegeben von:
descendingMapin SchnittstelleNavigableMap<Double,V> - Gibt zurück:
- a Type Specific desendingMap
-
keySet
- Angegeben von:
keySetin SchnittstelleDouble2ObjectMap<V>- Angegeben von:
keySetin SchnittstelleDouble2ObjectNavigableMap<V>- Angegeben von:
keySetin SchnittstelleDouble2ObjectSortedMap<V>- Angegeben von:
keySetin SchnittstelleMap<Double,V> - Angegeben von:
keySetin SchnittstelleSortedMap<Double,V> - Setzt außer Kraft:
keySetin KlasseDouble2ObjectMaps.UnmodifyableSortedMap<V>- Gibt zurück:
- a Type Specific Navigable Key Set
-
descendingKeySet
- Angegeben von:
descendingKeySetin SchnittstelleDouble2ObjectNavigableMap<V>- Angegeben von:
descendingKeySetin SchnittstelleNavigableMap<Double,V> - Gibt zurück:
- a Type Specific Desending Key Set
-
firstEntry
- Angegeben von:
firstEntryin SchnittstelleDouble2ObjectNavigableMap<V>- Angegeben von:
firstEntryin SchnittstelleNavigableMap<Double,V> - Gibt zurück:
- a Type Specific firstEntry
-
lastEntry
- Angegeben von:
lastEntryin SchnittstelleDouble2ObjectNavigableMap<V>- Angegeben von:
lastEntryin SchnittstelleNavigableMap<Double,V> - Gibt zurück:
- a Type Specific lastEntry
-
pollFirstEntry
- Angegeben von:
pollFirstEntryin SchnittstelleDouble2ObjectNavigableMap<V>- Angegeben von:
pollFirstEntryin SchnittstelleNavigableMap<Double,V> - Gibt zurück:
- a Type Specific pollFirstEntry
-
pollLastEntry
- Angegeben von:
pollLastEntryin SchnittstelleDouble2ObjectNavigableMap<V>- Angegeben von:
pollLastEntryin SchnittstelleNavigableMap<Double,V> - Gibt zurück:
- a Type Specific pollLastEntry
-
subMap
public Double2ObjectNavigableMap<V> subMap(double fromKey, boolean fromInclusive, double toKey, boolean toInclusive) Beschreibung aus Schnittstelle kopiert:Double2ObjectNavigableMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleDouble2ObjectNavigableMap<V>- 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:Double2ObjectNavigableMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleDouble2ObjectNavigableMap<V>- 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:Double2ObjectNavigableMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleDouble2ObjectNavigableMap<V>- 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:Double2ObjectSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleDouble2ObjectNavigableMap<V>- Angegeben von:
subMapin SchnittstelleDouble2ObjectSortedMap<V>- Setzt außer Kraft:
subMapin KlasseDouble2ObjectMaps.UnmodifyableSortedMap<V>- 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:Double2ObjectSortedMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleDouble2ObjectNavigableMap<V>- Angegeben von:
headMapin SchnittstelleDouble2ObjectSortedMap<V>- Setzt außer Kraft:
headMapin KlasseDouble2ObjectMaps.UnmodifyableSortedMap<V>- 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:Double2ObjectSortedMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleDouble2ObjectNavigableMap<V>- Angegeben von:
tailMapin SchnittstelleDouble2ObjectSortedMap<V>- Setzt außer Kraft:
tailMapin KlasseDouble2ObjectMaps.UnmodifyableSortedMap<V>- 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:Double2ObjectNavigableMapA Helper method to set the max value for SubMaps. (Default: double.MIN_VALUE)- Angegeben von:
setDefaultMaxValuein SchnittstelleDouble2ObjectNavigableMap<V>- Parameter:
e- the new max value
-
getDefaultMaxValue
public double getDefaultMaxValue()Beschreibung aus Schnittstelle kopiert:Double2ObjectNavigableMapA Helper method to get the max value for SubMaps.- Angegeben von:
getDefaultMaxValuein SchnittstelleDouble2ObjectNavigableMap<V>- Gibt zurück:
- the default max value.
-
setDefaultMinValue
public void setDefaultMinValue(double e) Beschreibung aus Schnittstelle kopiert:Double2ObjectNavigableMapA Helper method to set the min value for SubMaps. (Default: double.MAX_VALUE)- Angegeben von:
setDefaultMinValuein SchnittstelleDouble2ObjectNavigableMap<V>- Parameter:
e- the new min value
-
getDefaultMinValue
public double getDefaultMinValue()Beschreibung aus Schnittstelle kopiert:Double2ObjectNavigableMapA Helper method to get the min value for SubMaps.- Angegeben von:
getDefaultMinValuein SchnittstelleDouble2ObjectNavigableMap<V>- Gibt zurück:
- the default min value.
-
lowerKey
public double lowerKey(double key) Beschreibung aus Schnittstelle kopiert:Double2ObjectNavigableMapA Type Specific lowerKey method to reduce boxing/unboxing.- Angegeben von:
lowerKeyin SchnittstelleDouble2ObjectNavigableMap<V>- 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:Double2ObjectNavigableMapA Type Specific higherKey method to reduce boxing/unboxing.- Angegeben von:
higherKeyin SchnittstelleDouble2ObjectNavigableMap<V>- 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:Double2ObjectNavigableMapA Type Specific floorKey method to reduce boxing/unboxing.- Angegeben von:
floorKeyin SchnittstelleDouble2ObjectNavigableMap<V>- 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:Double2ObjectNavigableMapA Type Specific ceilingKey method to reduce boxing/unboxing.- Angegeben von:
ceilingKeyin SchnittstelleDouble2ObjectNavigableMap<V>- 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:Double2ObjectNavigableMapA Type Specific lowerEntry method to reduce boxing/unboxing.- Angegeben von:
lowerEntryin SchnittstelleDouble2ObjectNavigableMap<V>- 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:Double2ObjectNavigableMapA Type Specific higherEntry method to reduce boxing/unboxing.- Angegeben von:
higherEntryin SchnittstelleDouble2ObjectNavigableMap<V>- 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:Double2ObjectNavigableMapA Type Specific floorEntry method to reduce boxing/unboxing.- Angegeben von:
floorEntryin SchnittstelleDouble2ObjectNavigableMap<V>- 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:Double2ObjectNavigableMapA Type Specific ceilingEntry method to reduce boxing/unboxing.- Angegeben von:
ceilingEntryin SchnittstelleDouble2ObjectNavigableMap<V>- 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:Double2ObjectMapA 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 SchnittstelleDouble2ObjectMap<V>- Angegeben von:
copyin SchnittstelleDouble2ObjectNavigableMap<V>- Angegeben von:
copyin SchnittstelleDouble2ObjectSortedMap<V>- Setzt außer Kraft:
copyin KlasseDouble2ObjectMaps.UnmodifyableSortedMap<V>- Gibt zurück:
- a Shallow Copy of the Map
-