Modul speiger.src.collections
Schnittstelle Float2IntSortedMap
- Alle Superschnittstellen:
Float2IntFunction,Float2IntMap,Map<Float,,Integer> SortedMap<Float,Integer>
- Alle bekannten Unterschnittstellen:
Float2IntNavigableMap
- Alle bekannten Implementierungsklassen:
Float2IntAVLTreeMap,Float2IntMaps.SynchronizedNavigableMap,Float2IntMaps.SynchronizedSortedMap,Float2IntMaps.UnmodifyableNavigableMap,Float2IntMaps.UnmodifyableSortedMap,Float2IntRBTreeMap
A Type Specific
SortedMap interface to reduce boxing/unboxing, with a couple extra methods that allow greater control over maps.- Note:
- Float2IntOrderedMap is only extended until 0.6.0 for Compat reasons. The supported classes already implement Float2IntOrderedMap directly and will remove Float2IntSortedMap implementations in favor of Float2IntOrderedMap 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.floats.maps.interfaces.Float2IntMap
Float2IntMap.BuilderCache, Float2IntMap.Entry, Float2IntMap.FastEntrySet, Float2IntMap.MapBuilder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcopy()A Function that does a shallow clone of the Map itself.floatA method to get the first Key of a Map.intA method to get the first Value of a Map.default FloatfirstKey()Veraltet.headMap(float toKey) A Type Specific HeadMap method to reduce boxing/unboxingdefault Float2IntSortedMapVeraltet.keySet()floatA method to get the last Key of a Map.intA method to get the last Value of a Map.default FloatlastKey()Veraltet.floatA method to get and remove the first Key of a Map.floatA method to get and remove the last Key of a Map.subMap(float fromKey, float toKey) A Type Specific SubMap method to reduce boxing/unboxingdefault Float2IntSortedMapVeraltet.default Float2IntSortedMapCreates a Wrapped SortedMap that is Synchronizeddefault Float2IntSortedMapsynchronize(Object mutex) Creates a Wrapped SortedMap that is SynchronizedtailMap(float fromKey) A Type Specific TailMap method to reduce boxing/unboxingdefault Float2IntSortedMapVeraltet.default Float2IntSortedMapCreates a Wrapped SortedMap that is unmodifiablevalues()Von Schnittstelle geerbte Methoden speiger.src.collections.floats.maps.interfaces.Float2IntMap
addTo, addToAll, applyAsInt, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfAbsentNonDefault, computeIntIfPresent, computeIntIfPresentNonDefault, computeIntNonDefault, containsKey, containsKey, containsValue, containsValue, entrySet, float2IntEntrySet, 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, supplyIntIfAbsentNonDefault
-
Methodendetails
-
comparator
FloatComparator comparator()- Angegeben von:
comparatorin SchnittstelleSortedMap<Float,Integer>
-
copy
Float2IntSortedMap copy()Beschreibung aus Schnittstelle kopiert:Float2IntMapA 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 SchnittstelleFloat2IntMap- Gibt zurück:
- a Shallow Copy of the Map
-
keySet
FloatSortedSet keySet() -
values
IntCollection values() -
synchronize
Creates a Wrapped SortedMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleFloat2IntMap- Gibt zurück:
- a new SortedMap that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped SortedMap that is Synchronized- Angegeben von:
synchronizein SchnittstelleFloat2IntMap- 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 SchnittstelleFloat2IntMap- 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.
-
firstFloatKey
float firstFloatKey()A method to get the first Key of a Map.- Gibt zurück:
- the first key in the map
-
pollFirstFloatKey
float pollFirstFloatKey()A method to get and remove the first Key of a Map.- Gibt zurück:
- the first key in the map
-
lastFloatKey
float lastFloatKey()A method to get the last Key of a Map.- Gibt zurück:
- the last key in the map
-
pollLastFloatKey
float pollLastFloatKey()A method to get and remove the last Key of a Map.- Gibt zurück:
- the last key in the map
-
firstIntValue
int firstIntValue()A method to get the first Value of a Map.- Gibt zurück:
- the first key in the map
-
lastIntValue
int lastIntValue()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.
-