Modul speiger.src.collections
Schnittstelle Double2CharSortedMap
- Alle Superschnittstellen:
Double2CharFunction,Double2CharMap,Map<Double,,Character> SortedMap<Double,Character>
- Alle bekannten Unterschnittstellen:
Double2CharNavigableMap
- Alle bekannten Implementierungsklassen:
Double2CharAVLTreeMap,Double2CharMaps.SynchronizedNavigableMap,Double2CharMaps.SynchronizedSortedMap,Double2CharMaps.UnmodifyableNavigableMap,Double2CharMaps.UnmodifyableSortedMap,Double2CharRBTreeMap
A Type Specific
SortedMap interface to reduce boxing/unboxing, with a couple extra methods that allow greater control over maps.- Note:
- Double2CharOrderedMap is only extended until 0.6.0 for Compat reasons. The supported classes already implement Double2CharOrderedMap directly and will remove Double2CharSortedMap implementations in favor of Double2CharOrderedMap 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.doubles.maps.interfaces.Double2CharMap
Double2CharMap.BuilderCache, Double2CharMap.Entry, Double2CharMap.FastEntrySet, Double2CharMap.MapBuilder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcopy()A Function that does a shallow clone of the Map itself.charA method to get the first Value of a Map.doubleA method to get the first Key of a Map.default DoublefirstKey()Veraltet.headMap(double toKey) A Type Specific HeadMap method to reduce boxing/unboxingdefault Double2CharSortedMapVeraltet.keySet()charA method to get the last Value of a Map.doubleA method to get the last Key of a Map.default DoublelastKey()Veraltet.doubleA method to get and remove the first Key of a Map.doubleA method to get and remove the last Key of a Map.subMap(double fromKey, double toKey) A Type Specific SubMap method to reduce boxing/unboxingdefault Double2CharSortedMapVeraltet.default Double2CharSortedMapCreates a Wrapped SortedMap that is Synchronizeddefault Double2CharSortedMapsynchronize(Object mutex) Creates a Wrapped SortedMap that is SynchronizedtailMap(double fromKey) A Type Specific TailMap method to reduce boxing/unboxingdefault Double2CharSortedMapVeraltet.default Double2CharSortedMapCreates a Wrapped SortedMap that is unmodifiablevalues()Von Schnittstelle geerbte Methoden speiger.src.collections.doubles.maps.interfaces.Double2CharMap
addTo, addToAll, applyAsChar, compute, computeChar, computeCharIfAbsent, computeCharIfAbsentNonDefault, computeCharIfPresent, computeCharIfPresentNonDefault, computeCharNonDefault, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, double2CharEntrySet, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllChar, mergeChar, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceChars, replaceChars, setDefaultReturnValue, subFrom, supplyCharIfAbsent, supplyCharIfAbsentNonDefault
-
Methodendetails
-
comparator
DoubleComparator comparator()- Angegeben von:
comparatorin SchnittstelleSortedMap<Double,Character>
-
copy
Double2CharSortedMap copy()Beschreibung aus Schnittstelle kopiert:Double2CharMapA 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 SchnittstelleDouble2CharMap- Gibt zurück:
- a Shallow Copy of the Map
-
keySet
DoubleSortedSet keySet() -
values
CharCollection values() -
synchronize
Creates a Wrapped SortedMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleDouble2CharMap- Gibt zurück:
- a new SortedMap that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped SortedMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleDouble2CharMap- 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 SchnittstelleDouble2CharMap- Gibt zurück:
- a new SortedMap Wrapper that is unmodifiable
- Siehe auch:
-
subMap
A Type Specific SubMap method to reduce boxing/unboxing- 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
- Note:
- Some implementations may not support this method., Some implementations may not keep the desired range when the original is changed.
-
headMap
A Type Specific HeadMap method to reduce boxing/unboxing- Parameter:
toKey- where the headMap should end- Gibt zurück:
- a HeadMap that is within the range of the desired range
- Note:
- Some implementations may not support this method., Some implementations may not keep the desired range when the original is changed.
-
tailMap
A Type Specific TailMap method to reduce boxing/unboxing- Parameter:
fromKey- where the TailMap should start- Gibt zurück:
- a TailMap that is within the range of the desired range
- Note:
- Some implementations may not support this method., Some implementations may not keep the desired range when the original is changed.
-
firstDoubleKey
double firstDoubleKey()A method to get the first Key of a Map.- Gibt zurück:
- the first key in the map
-
pollFirstDoubleKey
double pollFirstDoubleKey()A method to get and remove the first Key of a Map.- Gibt zurück:
- the first key in the map
-
lastDoubleKey
double lastDoubleKey()A method to get the last Key of a Map.- Gibt zurück:
- the last key in the map
-
pollLastDoubleKey
double pollLastDoubleKey()A method to get and remove the last Key of a Map.- Gibt zurück:
- the last key in the map
-
firstCharValue
char firstCharValue()A method to get the first Value of a Map.- Gibt zurück:
- the first key in the map
-
lastCharValue
char lastCharValue()A method to get the last Value of a Map.- Gibt zurück:
- the last key in the map
-
firstKey
Veraltet. -
lastKey
Veraltet. -
subMap
Veraltet. -
headMap
Veraltet. -
tailMap
Veraltet.
-