public interface Char2FloatSortedMap extends java.util.SortedMap<java.lang.Character,java.lang.Float>, Char2FloatMap
SortedMap interface to reduce boxing/unboxing, with a couple extra methods that allow greater control over maps.| Modifier and Type | Interface and Description |
|---|---|
static interface |
Char2FloatSortedMap.FastSortedSet
Fast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Char2FloatMap.Entry, Char2FloatMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
CharComparator |
comparator() |
char |
firstCharKey()
A method to get the first Key of a Map.
|
float |
firstFloatValue()
A method to get the first Value of a Map.
|
default java.lang.Character |
firstKey()
Deprecated.
|
float |
getAndMoveToFirst(char key)
A Specific get method that allows to move teh given key/value int the first index.
|
float |
getAndMoveToLast(char key)
A Specific get method that allows to move teh given key/value int the last index.
|
Char2FloatSortedMap |
headMap(char toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
default Char2FloatSortedMap |
headMap(java.lang.Character toKey)
Deprecated.
|
CharSet |
keySet() |
char |
lastCharKey()
A method to get the last Key of a Map.
|
float |
lastFloatValue()
A method to get the last Value of a Map.
|
default java.lang.Character |
lastKey()
Deprecated.
|
boolean |
moveToFirst(char key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(char key)
A specific move method to move a given key/value to the last index.
|
char |
pollFirstCharKey()
A method to get and remove the first Key of a Map.
|
char |
pollLastCharKey()
A method to get and remove the last Key of a Map.
|
float |
putAndMoveToFirst(char key,
float value)
A customized put method that allows you to insert into the first index.
|
float |
putAndMoveToLast(char key,
float value)
A customized put method that allows you to insert into the last index.
|
default Char2FloatSortedMap |
subMap(java.lang.Character fromKey,
java.lang.Character toKey)
Deprecated.
|
Char2FloatSortedMap |
subMap(char fromKey,
char toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Char2FloatSortedMap |
tailMap(char fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
default Char2FloatSortedMap |
tailMap(java.lang.Character fromKey)
Deprecated.
|
FloatCollection |
values() |
addTo, addToAll, char2FloatEntrySet, compute, computeFloat, computeFloatIfAbsent, computeFloatIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getFloat, getOrDefault, getOrDefault, merge, mergeAllFloat, mergeFloat, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remChar, remCharOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceFloats, replaceFloats, setDefaultReturnValuefloat putAndMoveToFirst(char key,
float value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)float putAndMoveToLast(char key,
float value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(char key)
key - that should be moved to the first indexboolean moveToLast(char key)
key - that should be moved to the first lastfloat getAndMoveToFirst(char key)
key - that is searched forfloat getAndMoveToLast(char key)
key - that is searched forCharComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Character,java.lang.Float>CharSet keySet()
keySet in interface Char2FloatMapkeySet in interface java.util.Map<java.lang.Character,java.lang.Float>keySet in interface java.util.SortedMap<java.lang.Character,java.lang.Float>FloatCollection values()
values in interface Char2FloatMapvalues in interface java.util.Map<java.lang.Character,java.lang.Float>values in interface java.util.SortedMap<java.lang.Character,java.lang.Float>Char2FloatSortedMap subMap(char fromKey, char toKey)
fromKey - where the submap should starttoKey - where the subMap should endChar2FloatSortedMap headMap(char toKey)
toKey - where the headMap should endChar2FloatSortedMap tailMap(char fromKey)
fromKey - where the TailMap should startchar firstCharKey()
char pollFirstCharKey()
char lastCharKey()
char pollLastCharKey()
float firstFloatValue()
float lastFloatValue()
@Deprecated default java.lang.Character firstKey()
firstKey in interface java.util.SortedMap<java.lang.Character,java.lang.Float>@Deprecated default java.lang.Character lastKey()
lastKey in interface java.util.SortedMap<java.lang.Character,java.lang.Float>@Deprecated default Char2FloatSortedMap subMap(java.lang.Character fromKey, java.lang.Character toKey)
subMap in interface java.util.SortedMap<java.lang.Character,java.lang.Float>@Deprecated default Char2FloatSortedMap headMap(java.lang.Character toKey)
headMap in interface java.util.SortedMap<java.lang.Character,java.lang.Float>@Deprecated default Char2FloatSortedMap tailMap(java.lang.Character fromKey)
tailMap in interface java.util.SortedMap<java.lang.Character,java.lang.Float>