T - the type of elements maintained by this Collectionpublic static class Object2CharMaps.UnmodifyableOrderedMap<T> extends Object2CharMaps.UnmodifyableMap<T> implements Object2CharOrderedMap<T>
AbstractObject2CharMap.BasicEntry<T>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Object2CharOrderedMap.FastOrderedSet<T>Object2CharMap.BuilderCache<T>, Object2CharMap.Entry<T>, Object2CharMap.FastEntrySet<T>, Object2CharMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Object2CharOrderedMap<T> |
copy()
A Function that does a shallow clone of the Map itself.
|
char |
firstCharValue()
A method to get the first Value of a Map.
|
T |
firstKey()
A method to get the first Key of a Map.
|
char |
getAndMoveToFirst(T key)
A Specific get method that allows to move teh given key/value int the first index.
|
char |
getAndMoveToLast(T key)
A Specific get method that allows to move teh given key/value int the last index.
|
ObjectOrderedSet<T> |
keySet() |
char |
lastCharValue()
A method to get the last Value of a Map.
|
T |
lastKey()
A method to get the last Key of a Map.
|
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.
|
ObjectOrderedSet<Object2CharMap.Entry<T>> |
object2CharEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
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.
|
char |
putAndMoveToFirst(T key,
char value)
A customized put method that allows you to insert into the first index.
|
char |
putAndMoveToLast(T key,
char value)
A customized put method that allows you to insert into the last index.
|
addTo, clear, computeChar, computeCharIfAbsent, computeCharIfPresent, getChar, getOrDefault, mergeAllChar, mergeChar, put, putIfAbsent, rem, remOrDefault, remove, replaceChars, replaceChars, subFrom, supplyCharIfAbsent, valuesaddToAll, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, put, putAll, putAll, putAll, putAll, putAllIfAbsent, remove, replace, replace, setDefaultReturnValuesynchronize, synchronize, unmodifiableaddTo, addToAll, builder, compute, computeChar, computeCharIfAbsent, computeCharIfPresent, computeIfAbsent, computeIfPresent, containsValue, containsValue, entrySet, forEach, forEach, get, getChar, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllChar, mergeChar, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, rem, remOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceChars, replaceChars, setDefaultReturnValue, subFrom, supplyCharIfAbsent, valuespublic char putAndMoveToFirst(T key, char value)
Object2CharOrderedMapputAndMoveToFirst in interface Object2CharOrderedMap<T>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public char putAndMoveToLast(T key, char value)
Object2CharOrderedMapputAndMoveToLast in interface Object2CharOrderedMap<T>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(T key)
Object2CharOrderedMapmoveToFirst in interface Object2CharOrderedMap<T>key - that should be moved to the first indexpublic boolean moveToLast(T key)
Object2CharOrderedMapmoveToLast in interface Object2CharOrderedMap<T>key - that should be moved to the first lastpublic char getAndMoveToFirst(T key)
Object2CharOrderedMapgetAndMoveToFirst in interface Object2CharOrderedMap<T>key - that is searched forpublic char getAndMoveToLast(T key)
Object2CharOrderedMapgetAndMoveToLast in interface Object2CharOrderedMap<T>key - that is searched forpublic T firstKey()
Object2CharOrderedMapfirstKey in interface Object2CharOrderedMap<T>public T pollFirstKey()
Object2CharOrderedMappollFirstKey in interface Object2CharOrderedMap<T>public T lastKey()
Object2CharOrderedMaplastKey in interface Object2CharOrderedMap<T>public T pollLastKey()
Object2CharOrderedMappollLastKey in interface Object2CharOrderedMap<T>public char firstCharValue()
Object2CharOrderedMapfirstCharValue in interface Object2CharOrderedMap<T>public char lastCharValue()
Object2CharOrderedMaplastCharValue in interface Object2CharOrderedMap<T>public Object2CharOrderedMap<T> copy()
Object2CharMapcopy in interface Object2CharMap<T>copy in interface Object2CharOrderedMap<T>copy in class Object2CharMaps.UnmodifyableMap<T>public ObjectOrderedSet<T> keySet()
keySet in interface java.util.Map<T,java.lang.Character>keySet in interface Object2CharMap<T>keySet in interface Object2CharOrderedMap<T>keySet in class Object2CharMaps.UnmodifyableMap<T>public ObjectOrderedSet<Object2CharMap.Entry<T>> object2CharEntrySet()
Object2CharMapobject2CharEntrySet in interface Object2CharMap<T>object2CharEntrySet in interface Object2CharOrderedMap<T>object2CharEntrySet in class Object2CharMaps.UnmodifyableMap<T>