Modul speiger.src.collections
Schnittstelle Object2DoubleSortedMap<T>
- Typparameter:
T- the keyType of elements maintained by this Collection
- Alle Superschnittstellen:
Map<T,,Double> Object2DoubleMap<T>,SortedMap<T,,Double> ToDoubleFunction<T>,ToDoubleFunction<T>
- Alle bekannten Unterschnittstellen:
Object2DoubleNavigableMap<T>
- Alle bekannten Implementierungsklassen:
Object2DoubleAVLTreeMap,Object2DoubleMaps.SynchronizedNavigableMap,Object2DoubleMaps.SynchronizedSortedMap,Object2DoubleMaps.UnmodifyableNavigableMap,Object2DoubleMaps.UnmodifyableSortedMap,Object2DoubleRBTreeMap
A Type Specific
SortedMap interface to reduce boxing/unboxing, with a couple extra methods that allow greater control over maps.- Note:
- Object2DoubleOrderedMap is only extended until 0.6.0 for Compat reasons. The supported classes already implement Object2DoubleOrderedMap directly and will remove Object2DoubleSortedMap implementations in favor of Object2DoubleOrderedMap instead
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypSchnittstelleBeschreibungstatic interfaceFast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal valueVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.objects.maps.interfaces.Object2DoubleMap
Object2DoubleMap.BuilderCache<T>, Object2DoubleMap.Entry<T>, Object2DoubleMap.FastEntrySet<T>, Object2DoubleMap.MapBuilder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcopy()A Function that does a shallow clone of the Map itself.doubleA method to get the first Value of a Map.keySet()doubleA method to get the last Value of a Map.A method to get and remove the first Key of a Map.A method to get and remove the last Key of a Map.default Object2DoubleSortedMap<T>Creates a Wrapped SortedMap that is Synchronizeddefault Object2DoubleSortedMap<T>synchronize(Object mutex) Creates a Wrapped SortedMap that is Synchronizeddefault Object2DoubleSortedMap<T>Creates a Wrapped SortedMap that is unmodifiablevalues()Von Schnittstelle geerbte Methoden java.util.Map
clear, containsKey, equals, hashCode, isEmpty, putAll, sizeVon Schnittstelle geerbte Methoden speiger.src.collections.objects.maps.interfaces.Object2DoubleMap
addTo, addToAll, applyAsDouble, compute, computeDouble, computeDoubleIfAbsent, computeDoubleIfAbsentNonDefault, computeDoubleIfPresent, computeDoubleIfPresentNonDefault, computeDoubleNonDefault, computeIfAbsent, computeIfPresent, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getDouble, getOrDefault, getOrDefault, merge, mergeAllDouble, mergeDouble, object2DoubleEntrySet, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, rem, remOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceDoubles, replaceDoubles, setDefaultReturnValue, subFrom, supplyDoubleIfAbsent, supplyDoubleIfAbsentNonDefault
-
Methodendetails
-
comparator
Comparator<T> comparator()- Angegeben von:
comparatorin SchnittstelleSortedMap<T,Double>
-
copy
Object2DoubleSortedMap<T> copy()Beschreibung aus Schnittstelle kopiert:Object2DoubleMapA 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 SchnittstelleObject2DoubleMap<T>- Gibt zurück:
- a Shallow Copy of the Map
-
keySet
ObjectSortedSet<T> keySet() -
values
DoubleCollection values() -
synchronize
Creates a Wrapped SortedMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleObject2DoubleMap<T>- Gibt zurück:
- a new SortedMap that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped SortedMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleObject2DoubleMap<T>- Parameter:
mutex- is the controller of the synchronization block- Gibt zurück:
- a new SortedMap Wrapper that is synchronized
- Siehe auch:
-
unmodifiable
Creates a Wrapped SortedMap that is unmodifiable- Angegeben von:
unmodifiablein SchnittstelleObject2DoubleMap<T>- Gibt zurück:
- a new SortedMap Wrapper that is unmodifiable
- Siehe auch:
-
pollFirstKey
T pollFirstKey()A method to get and remove the first Key of a Map.- Gibt zurück:
- the first key in the map
-
pollLastKey
T pollLastKey()A method to get and remove the last Key of a Map.- Gibt zurück:
- the last key in the map
-
firstDoubleValue
double firstDoubleValue()A method to get the first Value of a Map.- Gibt zurück:
- the first key in the map
-
lastDoubleValue
double lastDoubleValue()A method to get the last Value of a Map.- Gibt zurück:
- the last key in the map
-
subMap
-
headMap
-
tailMap
-