Modul speiger.src.collections
Klasse Double2IntMaps.UnmodifyableNavigableMap
java.lang.Object
java.util.AbstractMap<Double,Integer>
speiger.src.collections.doubles.maps.abstracts.AbstractDouble2IntMap
speiger.src.collections.doubles.utils.maps.Double2IntMaps.UnmodifyableMap
speiger.src.collections.doubles.utils.maps.Double2IntMaps.UnmodifyableSortedMap
speiger.src.collections.doubles.utils.maps.Double2IntMaps.UnmodifyableNavigableMap
- Alle implementierten Schnittstellen:
DoubleToIntFunction,Map<Double,,Integer> NavigableMap<Double,,Integer> SortedMap<Double,,Integer> Double2IntFunction,Double2IntMap,Double2IntNavigableMap,Double2IntSortedMap
- Umschließende Klasse:
Double2IntMaps
public static class Double2IntMaps.UnmodifyableNavigableMap
extends Double2IntMaps.UnmodifyableSortedMap
implements Double2IntNavigableMap
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.AbstractDouble2IntMap
AbstractDouble2IntMap.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.Double2IntMap
Double2IntMap.BuilderCache, Double2IntMap.Entry, Double2IntMap.FastEntrySet, Double2IntMap.MapBuilderVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.doubles.maps.interfaces.Double2IntSortedMap
Double2IntSortedMap.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.Double2IntMaps.UnmodifyableSortedMap
comparator, firstDoubleKey, firstIntValue, lastDoubleKey, lastIntValue, pollFirstDoubleKey, pollLastDoubleKeyVon Klasse geerbte Methoden speiger.src.collections.doubles.utils.maps.Double2IntMaps.UnmodifyableMap
addTo, clear, computeInt, computeIntIfAbsent, computeIntIfAbsentNonDefault, computeIntIfPresent, computeIntIfPresentNonDefault, computeIntNonDefault, double2IntEntrySet, get, getOrDefault, mergeAllInt, mergeInt, put, putIfAbsent, remove, remove, removeOrDefault, replaceInts, replaceInts, subFrom, supplyIntIfAbsent, supplyIntIfAbsentNonDefault, valuesVon Klasse geerbte Methoden speiger.src.collections.doubles.maps.abstracts.AbstractDouble2IntMap
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.Double2IntMap
addTo, addToAll, applyAsInt, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfAbsentNonDefault, computeIntIfPresent, computeIntIfPresentNonDefault, computeIntNonDefault, containsKey, containsKey, containsValue, containsValue, double2IntEntrySet, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllInt, mergeInt, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValue, subFrom, supplyIntIfAbsent, supplyIntIfAbsentNonDefaultVon Schnittstelle geerbte Methoden speiger.src.collections.doubles.maps.interfaces.Double2IntNavigableMap
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.Double2IntSortedMap
comparator, firstDoubleKey, firstIntValue, firstKey, lastDoubleKey, lastIntValue, lastKey, pollFirstDoubleKey, pollLastDoubleKey, values
-
Methodendetails
-
descendingMap
- Angegeben von:
descendingMapin SchnittstelleDouble2IntNavigableMap- Angegeben von:
descendingMapin SchnittstelleNavigableMap<Double,Integer> - Gibt zurück:
- a Type Specific desendingMap
-
keySet
- Angegeben von:
keySetin SchnittstelleDouble2IntMap- Angegeben von:
keySetin SchnittstelleDouble2IntNavigableMap- Angegeben von:
keySetin SchnittstelleDouble2IntSortedMap- Angegeben von:
keySetin SchnittstelleMap<Double,Integer> - Angegeben von:
keySetin SchnittstelleSortedMap<Double,Integer> - Setzt außer Kraft:
keySetin KlasseDouble2IntMaps.UnmodifyableSortedMap- Gibt zurück:
- a Type Specific Navigable Key Set
-
descendingKeySet
- Angegeben von:
descendingKeySetin SchnittstelleDouble2IntNavigableMap- Angegeben von:
descendingKeySetin SchnittstelleNavigableMap<Double,Integer> - Gibt zurück:
- a Type Specific Desending Key Set
-
firstEntry
- Angegeben von:
firstEntryin SchnittstelleDouble2IntNavigableMap- Angegeben von:
firstEntryin SchnittstelleNavigableMap<Double,Integer> - Gibt zurück:
- a Type Specific firstEntry
-
lastEntry
- Angegeben von:
lastEntryin SchnittstelleDouble2IntNavigableMap- Angegeben von:
lastEntryin SchnittstelleNavigableMap<Double,Integer> - Gibt zurück:
- a Type Specific lastEntry
-
pollFirstEntry
- Angegeben von:
pollFirstEntryin SchnittstelleDouble2IntNavigableMap- Angegeben von:
pollFirstEntryin SchnittstelleNavigableMap<Double,Integer> - Gibt zurück:
- a Type Specific pollFirstEntry
-
pollLastEntry
- Angegeben von:
pollLastEntryin SchnittstelleDouble2IntNavigableMap- Angegeben von:
pollLastEntryin SchnittstelleNavigableMap<Double,Integer> - Gibt zurück:
- a Type Specific pollLastEntry
-
subMap
public Double2IntNavigableMap subMap(double fromKey, boolean fromInclusive, double toKey, boolean toInclusive) Beschreibung aus Schnittstelle kopiert:Double2IntNavigableMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleDouble2IntNavigableMap- 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:Double2IntNavigableMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleDouble2IntNavigableMap- 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:Double2IntNavigableMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleDouble2IntNavigableMap- 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:Double2IntSortedMapA Type Specific SubMap method to reduce boxing/unboxing- Angegeben von:
subMapin SchnittstelleDouble2IntNavigableMap- Angegeben von:
subMapin SchnittstelleDouble2IntSortedMap- Setzt außer Kraft:
subMapin KlasseDouble2IntMaps.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:Double2IntSortedMapA Type Specific HeadMap method to reduce boxing/unboxing- Angegeben von:
headMapin SchnittstelleDouble2IntNavigableMap- Angegeben von:
headMapin SchnittstelleDouble2IntSortedMap- Setzt außer Kraft:
headMapin KlasseDouble2IntMaps.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:Double2IntSortedMapA Type Specific TailMap method to reduce boxing/unboxing- Angegeben von:
tailMapin SchnittstelleDouble2IntNavigableMap- Angegeben von:
tailMapin SchnittstelleDouble2IntSortedMap- Setzt außer Kraft:
tailMapin KlasseDouble2IntMaps.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:Double2IntNavigableMapA Helper method to set the max value for SubMaps. (Default: double.MIN_VALUE)- Angegeben von:
setDefaultMaxValuein SchnittstelleDouble2IntNavigableMap- Parameter:
e- the new max value
-
getDefaultMaxValue
public double getDefaultMaxValue()Beschreibung aus Schnittstelle kopiert:Double2IntNavigableMapA Helper method to get the max value for SubMaps.- Angegeben von:
getDefaultMaxValuein SchnittstelleDouble2IntNavigableMap- Gibt zurück:
- the default max value.
-
setDefaultMinValue
public void setDefaultMinValue(double e) Beschreibung aus Schnittstelle kopiert:Double2IntNavigableMapA Helper method to set the min value for SubMaps. (Default: double.MAX_VALUE)- Angegeben von:
setDefaultMinValuein SchnittstelleDouble2IntNavigableMap- Parameter:
e- the new min value
-
getDefaultMinValue
public double getDefaultMinValue()Beschreibung aus Schnittstelle kopiert:Double2IntNavigableMapA Helper method to get the min value for SubMaps.- Angegeben von:
getDefaultMinValuein SchnittstelleDouble2IntNavigableMap- Gibt zurück:
- the default min value.
-
lowerKey
public double lowerKey(double key) Beschreibung aus Schnittstelle kopiert:Double2IntNavigableMapA Type Specific lowerKey method to reduce boxing/unboxing.- Angegeben von:
lowerKeyin SchnittstelleDouble2IntNavigableMap- 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:Double2IntNavigableMapA Type Specific higherKey method to reduce boxing/unboxing.- Angegeben von:
higherKeyin SchnittstelleDouble2IntNavigableMap- 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:Double2IntNavigableMapA Type Specific floorKey method to reduce boxing/unboxing.- Angegeben von:
floorKeyin SchnittstelleDouble2IntNavigableMap- 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:Double2IntNavigableMapA Type Specific ceilingKey method to reduce boxing/unboxing.- Angegeben von:
ceilingKeyin SchnittstelleDouble2IntNavigableMap- 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:Double2IntNavigableMapA Type Specific lowerEntry method to reduce boxing/unboxing.- Angegeben von:
lowerEntryin SchnittstelleDouble2IntNavigableMap- 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:Double2IntNavigableMapA Type Specific higherEntry method to reduce boxing/unboxing.- Angegeben von:
higherEntryin SchnittstelleDouble2IntNavigableMap- 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:Double2IntNavigableMapA Type Specific floorEntry method to reduce boxing/unboxing.- Angegeben von:
floorEntryin SchnittstelleDouble2IntNavigableMap- 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:Double2IntNavigableMapA Type Specific ceilingEntry method to reduce boxing/unboxing.- Angegeben von:
ceilingEntryin SchnittstelleDouble2IntNavigableMap- 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:Double2IntMapA 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 SchnittstelleDouble2IntMap- Angegeben von:
copyin SchnittstelleDouble2IntNavigableMap- Angegeben von:
copyin SchnittstelleDouble2IntSortedMap- Setzt außer Kraft:
copyin KlasseDouble2IntMaps.UnmodifyableSortedMap- Gibt zurück:
- a Shallow Copy of the Map
-