Modul speiger.src.collections
Schnittstelle Double2ShortNavigableMap
- Alle Superschnittstellen:
Double2ShortFunction,Double2ShortMap,Double2ShortSortedMap,Map<Double,,Short> NavigableMap<Double,,Short> SortedMap<Double,Short>
- Alle bekannten Implementierungsklassen:
Double2ShortAVLTreeMap,Double2ShortMaps.SynchronizedNavigableMap,Double2ShortMaps.UnmodifyableNavigableMap,Double2ShortRBTreeMap
A Type Specific Navigable Map interface with a couple helper methods
-
Verschachtelte Klassen - Übersicht
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.default Double2ShortMap.EntryceilingEntry(Double key) Veraltet.doubleceilingKey(double key) A Type Specific ceilingKey method to reduce boxing/unboxing.default DoubleceilingKey(Double key) Veraltet.copy()A Function that does a shallow clone of the Map itself.floorEntry(double key) A Type Specific floorEntry method to reduce boxing/unboxing.default Double2ShortMap.EntryfloorEntry(Double key) Veraltet.doublefloorKey(double key) A Type Specific floorKey method to reduce boxing/unboxing.default DoubleVeraltet.doubleA Helper method to get the max value for SubMaps.doubleA Helper method to get the min value for SubMaps.default Double2ShortNavigableMapheadMap(double toKey) A Type Specific HeadMap method to reduce boxing/unboxingheadMap(double toKey, boolean inclusive) A Type Specific HeadMap method to reduce boxing/unboxingdefault Double2ShortNavigableMapVeraltet.default Double2ShortNavigableMapVeraltet.higherEntry(double key) A Type Specific higherEntry method to reduce boxing/unboxing.default Double2ShortMap.EntryhigherEntry(Double key) Veraltet.doublehigherKey(double key) A Type Specific higherKey method to reduce boxing/unboxing.default DoubleVeraltet.keySet()lowerEntry(double key) A Type Specific lowerEntry method to reduce boxing/unboxing.default Double2ShortMap.EntrylowerEntry(Double key) Veraltet.doublelowerKey(double key) A Type Specific lowerKey method to reduce boxing/unboxing.default DoubleVeraltet.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/unboxingdefault Double2ShortNavigableMapsubMap(double fromKey, double toKey) A Type Specific SubMap method to reduce boxing/unboxingdefault Double2ShortNavigableMapVeraltet.default Double2ShortNavigableMapVeraltet.default Double2ShortNavigableMapCreates a Wrapped NavigableMap that is Synchronizeddefault Double2ShortNavigableMapsynchronize(Object mutex) Creates a Wrapped NavigableMap that is Synchronizeddefault Double2ShortNavigableMaptailMap(double fromKey) A Type Specific TailMap method to reduce boxing/unboxingtailMap(double fromKey, boolean inclusive) A Type Specific TailMap method to reduce boxing/unboxingdefault Double2ShortNavigableMapVeraltet.default Double2ShortNavigableMapVeraltet.default Double2ShortNavigableMapCreates a Wrapped NavigableMap that is unmodifiableVon 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
comparator, firstDoubleKey, firstKey, firstShortValue, lastDoubleKey, lastKey, lastShortValue, pollFirstDoubleKey, pollLastDoubleKey, values
-
Methodendetails
-
copy
Double2ShortNavigableMap 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- Gibt zurück:
- a Shallow Copy of the Map
-
descendingMap
Double2ShortNavigableMap descendingMap()- Angegeben von:
descendingMapin SchnittstelleNavigableMap<Double,Short> - Gibt zurück:
- a Type Specific desendingMap
-
descendingKeySet
DoubleNavigableSet descendingKeySet()- Angegeben von:
descendingKeySetin SchnittstelleNavigableMap<Double,Short> - Gibt zurück:
- a Type Specific Desending Key Set
-
firstEntry
Double2ShortMap.Entry firstEntry()- Angegeben von:
firstEntryin SchnittstelleNavigableMap<Double,Short> - Gibt zurück:
- a Type Specific firstEntry
-
lastEntry
Double2ShortMap.Entry lastEntry()- Angegeben von:
lastEntryin SchnittstelleNavigableMap<Double,Short> - Gibt zurück:
- a Type Specific lastEntry
-
pollFirstEntry
Double2ShortMap.Entry pollFirstEntry()- Angegeben von:
pollFirstEntryin SchnittstelleNavigableMap<Double,Short> - Gibt zurück:
- a Type Specific pollFirstEntry
-
pollLastEntry
Double2ShortMap.Entry pollLastEntry()- Angegeben von:
pollLastEntryin SchnittstelleNavigableMap<Double,Short> - Gibt zurück:
- a Type Specific pollLastEntry
-
keySet
DoubleNavigableSet keySet() -
synchronize
Creates a Wrapped NavigableMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleDouble2ShortMap- Angegeben von:
synchronizein SchnittstelleDouble2ShortSortedMap- Gibt zurück:
- a new NavigableMap that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped NavigableMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleDouble2ShortMap- Angegeben von:
synchronizein SchnittstelleDouble2ShortSortedMap- Parameter:
mutex- is the controller of the synchronization block- Gibt zurück:
- a new NavigableMap Wrapper that is synchronized
- Siehe auch:
-
unmodifiable
Creates a Wrapped NavigableMap that is unmodifiable- Angegeben von:
unmodifiablein SchnittstelleDouble2ShortMap- Angegeben von:
unmodifiablein SchnittstelleDouble2ShortSortedMap- Gibt zurück:
- a new NavigableMap Wrapper that is unmodifiable
- Siehe auch:
-
subMap
Double2ShortNavigableMap subMap(double fromKey, boolean fromInclusive, double toKey, boolean toInclusive) A Type Specific SubMap method to reduce boxing/unboxing- 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
A Type Specific HeadMap method to reduce boxing/unboxing- 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
A Type Specific TailMap method to reduce boxing/unboxing- 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 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
-
setDefaultMaxValue
void setDefaultMaxValue(double e) A Helper method to set the max value for SubMaps. (Default: double.MIN_VALUE)- Parameter:
e- the new max value
-
getDefaultMaxValue
double getDefaultMaxValue()A Helper method to get the max value for SubMaps.- Gibt zurück:
- the default max value.
-
setDefaultMinValue
void setDefaultMinValue(double e) A Helper method to set the min value for SubMaps. (Default: double.MAX_VALUE)- Parameter:
e- the new min value
-
getDefaultMinValue
double getDefaultMinValue()A Helper method to get the min value for SubMaps.- Gibt zurück:
- the default min value.
-
lowerKey
double lowerKey(double key) A Type Specific lowerKey method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower key that can be found
-
higherKey
double higherKey(double key) A Type Specific higherKey method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher key that can be found
-
floorKey
double floorKey(double key) A Type Specific floorKey method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower or equal key that can be found
-
ceilingKey
double ceilingKey(double key) A Type Specific ceilingKey method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher or equal key that can be found
-
lowerEntry
A Type Specific lowerEntry method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower entry that can be found, or null
-
higherEntry
A Type Specific higherEntry method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher entry that can be found, or null
-
floorEntry
A Type Specific floorEntry method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the greatest lower or equal entry that can be found, or null
-
ceilingEntry
A Type Specific ceilingEntry method to reduce boxing/unboxing.- Parameter:
key- that should be compared with.- Gibt zurück:
- the lowest higher or equal entry that can be found, or null
-
lowerKey
Veraltet.- Angegeben von:
lowerKeyin SchnittstelleNavigableMap<Double,Short>
-
floorKey
Veraltet.- Angegeben von:
floorKeyin SchnittstelleNavigableMap<Double,Short>
-
ceilingKey
Veraltet.- Angegeben von:
ceilingKeyin SchnittstelleNavigableMap<Double,Short>
-
higherKey
Veraltet.- Angegeben von:
higherKeyin SchnittstelleNavigableMap<Double,Short>
-
lowerEntry
Veraltet.- Angegeben von:
lowerEntryin SchnittstelleNavigableMap<Double,Short>
-
floorEntry
Veraltet.- Angegeben von:
floorEntryin SchnittstelleNavigableMap<Double,Short>
-
ceilingEntry
Veraltet.- Angegeben von:
ceilingEntryin SchnittstelleNavigableMap<Double,Short>
-
higherEntry
Veraltet.- Angegeben von:
higherEntryin SchnittstelleNavigableMap<Double,Short>
-
subMap
@Deprecated default Double2ShortNavigableMap subMap(Double fromKey, boolean fromInclusive, Double toKey, boolean toInclusive) Veraltet.- Angegeben von:
subMapin SchnittstelleNavigableMap<Double,Short>
-
headMap
Veraltet.- Angegeben von:
headMapin SchnittstelleNavigableMap<Double,Short>
-
tailMap
Veraltet.- Angegeben von:
tailMapin SchnittstelleNavigableMap<Double,Short>
-
subMap
Veraltet.- Angegeben von:
subMapin SchnittstelleDouble2ShortSortedMap- Angegeben von:
subMapin SchnittstelleNavigableMap<Double,Short> - Angegeben von:
subMapin SchnittstelleSortedMap<Double,Short>
-
headMap
Veraltet.- Angegeben von:
headMapin SchnittstelleDouble2ShortSortedMap- Angegeben von:
headMapin SchnittstelleNavigableMap<Double,Short> - Angegeben von:
headMapin SchnittstelleSortedMap<Double,Short>
-
tailMap
Veraltet.- Angegeben von:
tailMapin SchnittstelleDouble2ShortSortedMap- Angegeben von:
tailMapin SchnittstelleNavigableMap<Double,Short> - Angegeben von:
tailMapin SchnittstelleSortedMap<Double,Short>
-