T - the type of elements maintained by this Collectionpublic static class Object2FloatMaps.SynchronizedSortedMap<T> extends Object2FloatMaps.SynchronizedMap<T> implements Object2FloatSortedMap<T>
AbstractObject2FloatMap.BasicEntry<T>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Object2FloatSortedMap.FastSortedSet<T>Object2FloatMap.Entry<T>, Object2FloatMap.FastEntrySet<T>| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<T> |
comparator() |
float |
firstFloatValue()
A method to get the first Value of a Map.
|
T |
firstKey() |
float |
getAndMoveToFirst(T key)
A Specific get method that allows to move teh given key/value int the first index.
|
float |
getAndMoveToLast(T key)
A Specific get method that allows to move teh given key/value int the last index.
|
Object2FloatSortedMap<T> |
headMap(T toKey) |
float |
lastFloatValue()
A method to get the last Value of a Map.
|
T |
lastKey() |
boolean |
moveToFirst(T key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(T key)
A specific move method to move a given key/value to the last index.
|
T |
pollFirstKey()
A method to get and remove the first Key of a Map.
|
T |
pollLastKey()
A method to get and remove the last Key of a Map.
|
float |
putAndMoveToFirst(T key,
float value)
A customized put method that allows you to insert into the first index.
|
float |
putAndMoveToLast(T key,
float value)
A customized put method that allows you to insert into the last index.
|
Object2FloatSortedMap<T> |
subMap(T fromKey,
T toKey) |
Object2FloatSortedMap<T> |
tailMap(T fromKey) |
addTo, addToAll, computeFloat, computeFloatIfAbsent, computeFloatIfPresent, containsValue, forEach, getDefaultReturnValue, getFloat, getOrDefault, keySet, mergeAllFloat, mergeFloat, object2FloatEntrySet, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, rem, remOrDefault, remove, replace, replace, replaceFloats, replaceFloats, setDefaultReturnValue, size, valuescontainsKey, entrySet, equals, get, getOrDefault, hashCodeclear, containsValue, isEmpty, put, remove, toStringkeySet, valuesaddTo, addToAll, compute, computeFloat, computeFloatIfAbsent, computeFloatIfPresent, computeIfAbsent, computeIfPresent, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getFloat, getOrDefault, getOrDefault, merge, mergeAllFloat, mergeFloat, object2FloatEntrySet, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, rem, remOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceFloats, replaceFloats, setDefaultReturnValuepublic float putAndMoveToFirst(T key, float value)
Object2FloatSortedMapputAndMoveToFirst in interface Object2FloatSortedMap<T>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public float putAndMoveToLast(T key, float value)
Object2FloatSortedMapputAndMoveToLast in interface Object2FloatSortedMap<T>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(T key)
Object2FloatSortedMapmoveToFirst in interface Object2FloatSortedMap<T>key - that should be moved to the first indexpublic boolean moveToLast(T key)
Object2FloatSortedMapmoveToLast in interface Object2FloatSortedMap<T>key - that should be moved to the first lastpublic float getAndMoveToFirst(T key)
Object2FloatSortedMapgetAndMoveToFirst in interface Object2FloatSortedMap<T>key - that is searched forpublic float getAndMoveToLast(T key)
Object2FloatSortedMapgetAndMoveToLast in interface Object2FloatSortedMap<T>key - that is searched forpublic java.util.Comparator<T> comparator()
comparator in interface java.util.SortedMap<T,java.lang.Float>comparator in interface Object2FloatSortedMap<T>public Object2FloatSortedMap<T> subMap(T fromKey, T toKey)
subMap in interface java.util.SortedMap<T,java.lang.Float>subMap in interface Object2FloatSortedMap<T>public Object2FloatSortedMap<T> headMap(T toKey)
headMap in interface java.util.SortedMap<T,java.lang.Float>headMap in interface Object2FloatSortedMap<T>public Object2FloatSortedMap<T> tailMap(T fromKey)
tailMap in interface java.util.SortedMap<T,java.lang.Float>tailMap in interface Object2FloatSortedMap<T>public T firstKey()
firstKey in interface java.util.SortedMap<T,java.lang.Float>public T pollFirstKey()
Object2FloatSortedMappollFirstKey in interface Object2FloatSortedMap<T>public T lastKey()
lastKey in interface java.util.SortedMap<T,java.lang.Float>public T pollLastKey()
Object2FloatSortedMappollLastKey in interface Object2FloatSortedMap<T>public float firstFloatValue()
Object2FloatSortedMapfirstFloatValue in interface Object2FloatSortedMap<T>public float lastFloatValue()
Object2FloatSortedMaplastFloatValue in interface Object2FloatSortedMap<T>