- Type Parameters:
T
- type of the collected objects
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Float,T>
,NavigableMap<Float,T>
,SortedMap<Float,T>
public class FloatMap<T> extends TreeMap<Float,T>
This class is a tree map associating objects to a float value.
- Author:
- Dr. Peter Droste, Omix Visualization
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Float
getKey(T value)
Returns the key associated to the given value.boolean
removeValue(T value)
Removes the value from the map.Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
-
Constructor Details
-
Method Details
-
getKey
Returns the key associated to the given value.- Parameters:
value
-- Returns:
- key
-
removeValue
Removes the value from the map.- Parameters:
value
-- Returns:
- success
-