public static class Short2CharMaps.UnmodifyableOrderedMap extends Short2CharMaps.UnmodifyableMap implements Short2CharOrderedMap
AbstractShort2CharMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Short2CharOrderedMap.FastOrderedSetShort2CharMap.BuilderCache, Short2CharMap.Entry, Short2CharMap.FastEntrySet, Short2CharMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Short2CharOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
char |
firstCharValue()
A method to get the first Value of a Map.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
char |
getAndMoveToFirst(short key)
A Specific get method that allows to move teh given key/value int the first index.
|
char |
getAndMoveToLast(short key)
A Specific get method that allows to move teh given key/value int the last index.
|
ShortOrderedSet |
keySet() |
char |
lastCharValue()
A method to get the last Value of a Map.
|
short |
lastShortKey()
A method to get the last Key of a Map.
|
boolean |
moveToFirst(short key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(short key)
A specific move method to move a given key/value to the last index.
|
short |
pollFirstShortKey()
A method to get and remove the first Key of a Map.
|
short |
pollLastShortKey()
A method to get and remove the last Key of a Map.
|
char |
putAndMoveToFirst(short key,
char value)
A customized put method that allows you to insert into the first index.
|
char |
putAndMoveToLast(short key,
char value)
A customized put method that allows you to insert into the last index.
|
ObjectOrderedSet<Short2CharMap.Entry> |
short2CharEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
addTo, clear, computeChar, computeCharIfAbsent, computeCharIfPresent, get, getOrDefault, mergeAllChar, mergeChar, put, putIfAbsent, remove, remove, removeOrDefault, replaceChars, replaceChars, subFrom, supplyCharIfAbsent, valuesaddToAll, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, put, putAll, putAll, putAll, putAll, putAllIfAbsent, remove, replace, replace, setDefaultReturnValuecontainsKey, containsValue, isEmpty, size, toStringsynchronize, synchronize, unmodifiableaddTo, addToAll, applyAsChar, builder, compute, computeChar, computeCharIfAbsent, computeCharIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllChar, mergeChar, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceChars, replaceChars, setDefaultReturnValue, subFrom, supplyCharIfAbsent, valuespublic char putAndMoveToFirst(short key,
char value)
Short2CharOrderedMapputAndMoveToFirst in interface Short2CharOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public char putAndMoveToLast(short key,
char value)
Short2CharOrderedMapputAndMoveToLast in interface Short2CharOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(short key)
Short2CharOrderedMapmoveToFirst in interface Short2CharOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(short key)
Short2CharOrderedMapmoveToLast in interface Short2CharOrderedMapkey - that should be moved to the first lastpublic char getAndMoveToFirst(short key)
Short2CharOrderedMapgetAndMoveToFirst in interface Short2CharOrderedMapkey - that is searched forpublic char getAndMoveToLast(short key)
Short2CharOrderedMapgetAndMoveToLast in interface Short2CharOrderedMapkey - that is searched forpublic short firstShortKey()
Short2CharOrderedMapfirstShortKey in interface Short2CharOrderedMappublic short pollFirstShortKey()
Short2CharOrderedMappollFirstShortKey in interface Short2CharOrderedMappublic short lastShortKey()
Short2CharOrderedMaplastShortKey in interface Short2CharOrderedMappublic short pollLastShortKey()
Short2CharOrderedMappollLastShortKey in interface Short2CharOrderedMappublic char firstCharValue()
Short2CharOrderedMapfirstCharValue in interface Short2CharOrderedMappublic char lastCharValue()
Short2CharOrderedMaplastCharValue in interface Short2CharOrderedMappublic Short2CharOrderedMap copy()
Short2CharMapcopy in interface Short2CharMapcopy in interface Short2CharOrderedMapcopy in class Short2CharMaps.UnmodifyableMappublic ShortOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Short,java.lang.Character>keySet in interface Short2CharMapkeySet in interface Short2CharOrderedMapkeySet in class Short2CharMaps.UnmodifyableMappublic ObjectOrderedSet<Short2CharMap.Entry> short2CharEntrySet()
Short2CharMapshort2CharEntrySet in interface Short2CharMapshort2CharEntrySet in interface Short2CharOrderedMapshort2CharEntrySet in class Short2CharMaps.UnmodifyableMap