V - the type of elements maintained by this Collectionpublic static class Char2ObjectMaps.UnmodifyableOrderedMap<V> extends Char2ObjectMaps.UnmodifyableMap<V> implements Char2ObjectOrderedMap<V>
AbstractChar2ObjectMap.BasicEntry<V>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Char2ObjectOrderedMap.FastOrderedSet<V>Char2ObjectMap.BuilderCache<V>, Char2ObjectMap.Entry<V>, Char2ObjectMap.FastEntrySet<V>, Char2ObjectMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
ObjectOrderedSet<Char2ObjectMap.Entry<V>> |
char2ObjectEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
Char2ObjectOrderedMap<V> |
copy()
A Function that does a shallow clone of the Map itself.
|
char |
firstCharKey()
A method to get the first Key of a Map.
|
V |
firstValue()
A method to get the first Value of a Map.
|
V |
getAndMoveToFirst(char key)
A Specific get method that allows to move teh given key/value int the first index.
|
V |
getAndMoveToLast(char key)
A Specific get method that allows to move teh given key/value int the last index.
|
CharOrderedSet |
keySet() |
char |
lastCharKey()
A method to get the last Key of a Map.
|
V |
lastValue()
A method to get the last Value of a Map.
|
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.
|
V |
putAndMoveToFirst(char key,
V value)
A customized put method that allows you to insert into the first index.
|
V |
putAndMoveToLast(char key,
V value)
A customized put method that allows you to insert into the last index.
|
clear, compute, computeIfAbsent, computeIfPresent, get, getOrDefault, merge, mergeAll, put, putIfAbsent, remove, remove, removeOrDefault, replaceObjects, replaceObjects, supplyIfAbsent, valuescontainsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, put, putAll, putAll, putAll, putAll, putAllIfAbsent, remove, replace, replace, setDefaultReturnValuesynchronize, synchronize, unmodifiablebuilder, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, supplyIfAbsent, valuespublic V putAndMoveToFirst(char key, V value)
Char2ObjectOrderedMapputAndMoveToFirst in interface Char2ObjectOrderedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public V putAndMoveToLast(char key, V value)
Char2ObjectOrderedMapputAndMoveToLast in interface Char2ObjectOrderedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(char key)
Char2ObjectOrderedMapmoveToFirst in interface Char2ObjectOrderedMap<V>key - that should be moved to the first indexpublic boolean moveToLast(char key)
Char2ObjectOrderedMapmoveToLast in interface Char2ObjectOrderedMap<V>key - that should be moved to the first lastpublic V getAndMoveToFirst(char key)
Char2ObjectOrderedMapgetAndMoveToFirst in interface Char2ObjectOrderedMap<V>key - that is searched forpublic V getAndMoveToLast(char key)
Char2ObjectOrderedMapgetAndMoveToLast in interface Char2ObjectOrderedMap<V>key - that is searched forpublic char firstCharKey()
Char2ObjectOrderedMapfirstCharKey in interface Char2ObjectOrderedMap<V>public char pollFirstCharKey()
Char2ObjectOrderedMappollFirstCharKey in interface Char2ObjectOrderedMap<V>public char lastCharKey()
Char2ObjectOrderedMaplastCharKey in interface Char2ObjectOrderedMap<V>public char pollLastCharKey()
Char2ObjectOrderedMappollLastCharKey in interface Char2ObjectOrderedMap<V>public V firstValue()
Char2ObjectOrderedMapfirstValue in interface Char2ObjectOrderedMap<V>public V lastValue()
Char2ObjectOrderedMaplastValue in interface Char2ObjectOrderedMap<V>public Char2ObjectOrderedMap<V> copy()
Char2ObjectMapcopy in interface Char2ObjectMap<V>copy in interface Char2ObjectOrderedMap<V>copy in class Char2ObjectMaps.UnmodifyableMap<V>public CharOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Character,V>keySet in interface Char2ObjectMap<V>keySet in interface Char2ObjectOrderedMap<V>keySet in class Char2ObjectMaps.UnmodifyableMap<V>public ObjectOrderedSet<Char2ObjectMap.Entry<V>> char2ObjectEntrySet()
Char2ObjectMapchar2ObjectEntrySet in interface Char2ObjectMap<V>char2ObjectEntrySet in interface Char2ObjectOrderedMap<V>char2ObjectEntrySet in class Char2ObjectMaps.UnmodifyableMap<V>