T - the type of elements maintained by this Collectionpublic static class Object2CharMaps.UnmodifyableSortedMap<T> extends Object2CharMaps.UnmodifyableMap<T> implements Object2CharSortedMap<T>
AbstractObject2CharMap.BasicEntry<T>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Object2CharSortedMap.FastSortedSet<T>Object2CharMap.Entry<T>, Object2CharMap.FastEntrySet<T>| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<T> |
comparator() |
char |
firstCharValue()
A method to get the first Value of a Map.
|
T |
firstKey() |
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.
|
Object2CharSortedMap<T> |
headMap(T toKey) |
char |
lastCharValue()
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.
|
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.
|
Object2CharSortedMap<T> |
subMap(T fromKey,
T toKey) |
Object2CharSortedMap<T> |
tailMap(T fromKey) |
addTo, getChar, getOrDefault, keySet, object2CharEntrySet, put, putIfAbsent, rem, remOrDefault, remove, valuesaddToAll, computeChar, computeCharIfAbsent, computeCharIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, mergeAllChar, mergeChar, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceChars, replaceChars, setDefaultReturnValueclear, containsValue, isEmpty, put, remove, size, toStringkeySet, valuesaddTo, addToAll, compute, computeChar, computeCharIfAbsent, computeCharIfPresent, computeIfAbsent, computeIfPresent, containsValue, containsValue, entrySet, forEach, forEach, get, getChar, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllChar, mergeChar, object2CharEntrySet, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, rem, remOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceChars, replaceChars, setDefaultReturnValuepublic char putAndMoveToFirst(T key, char value)
Object2CharSortedMapputAndMoveToFirst in interface Object2CharSortedMap<T>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public char putAndMoveToLast(T key, char value)
Object2CharSortedMapputAndMoveToLast in interface Object2CharSortedMap<T>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(T key)
Object2CharSortedMapmoveToFirst in interface Object2CharSortedMap<T>key - that should be moved to the first indexpublic boolean moveToLast(T key)
Object2CharSortedMapmoveToLast in interface Object2CharSortedMap<T>key - that should be moved to the first lastpublic char getAndMoveToFirst(T key)
Object2CharSortedMapgetAndMoveToFirst in interface Object2CharSortedMap<T>key - that is searched forpublic char getAndMoveToLast(T key)
Object2CharSortedMapgetAndMoveToLast in interface Object2CharSortedMap<T>key - that is searched forpublic java.util.Comparator<T> comparator()
comparator in interface java.util.SortedMap<T,java.lang.Character>comparator in interface Object2CharSortedMap<T>public Object2CharSortedMap<T> subMap(T fromKey, T toKey)
subMap in interface java.util.SortedMap<T,java.lang.Character>subMap in interface Object2CharSortedMap<T>public Object2CharSortedMap<T> headMap(T toKey)
headMap in interface java.util.SortedMap<T,java.lang.Character>headMap in interface Object2CharSortedMap<T>public Object2CharSortedMap<T> tailMap(T fromKey)
tailMap in interface java.util.SortedMap<T,java.lang.Character>tailMap in interface Object2CharSortedMap<T>public T firstKey()
firstKey in interface java.util.SortedMap<T,java.lang.Character>public T pollFirstKey()
Object2CharSortedMappollFirstKey in interface Object2CharSortedMap<T>public T lastKey()
lastKey in interface java.util.SortedMap<T,java.lang.Character>public T pollLastKey()
Object2CharSortedMappollLastKey in interface Object2CharSortedMap<T>public char firstCharValue()
Object2CharSortedMapfirstCharValue in interface Object2CharSortedMap<T>public char lastCharValue()
Object2CharSortedMaplastCharValue in interface Object2CharSortedMap<T>