public interface Char2ShortOrderedMap extends Char2ShortMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Char2ShortOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Char2ShortMap.BuilderCache, Char2ShortMap.Entry, Char2ShortMap.FastEntrySet, Char2ShortMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
ObjectOrderedSet<Char2ShortMap.Entry> |
char2ShortEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
Char2ShortOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
char |
firstCharKey()
A method to get the first Key of a Map.
|
short |
firstShortValue()
A method to get the first Value of a Map.
|
short |
getAndMoveToFirst(char key)
A Specific get method that allows to move teh given key/value int the first index.
|
short |
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.
|
short |
lastShortValue()
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.
|
short |
putAndMoveToFirst(char key,
short value)
A customized put method that allows you to insert into the first index.
|
short |
putAndMoveToLast(char key,
short value)
A customized put method that allows you to insert into the last index.
|
default Char2ShortOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Char2ShortOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Char2ShortOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, builder, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllShort, mergeShort, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValue, subFrom, supplyShortIfAbsent, valuesshort putAndMoveToFirst(char key,
short value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)short putAndMoveToLast(char key,
short 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 lastshort getAndMoveToFirst(char key)
key - that is searched forshort getAndMoveToLast(char key)
key - that is searched forchar firstCharKey()
char pollFirstCharKey()
char lastCharKey()
char pollLastCharKey()
short firstShortValue()
short lastShortValue()
Char2ShortOrderedMap copy()
Char2ShortMapcopy in interface Char2ShortMapCharOrderedSet keySet()
keySet in interface Char2ShortMapkeySet in interface java.util.Map<java.lang.Character,java.lang.Short>ObjectOrderedSet<Char2ShortMap.Entry> char2ShortEntrySet()
Char2ShortMapchar2ShortEntrySet in interface Char2ShortMapdefault Char2ShortOrderedMap synchronize()
synchronize in interface Char2ShortMapChar2ShortMaps.synchronize(speiger.src.collections.chars.maps.interfaces.Char2ShortMap)default Char2ShortOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Char2ShortMapmutex - is the controller of the synchronization blockChar2ShortMaps.synchronize(speiger.src.collections.chars.maps.interfaces.Char2ShortMap)default Char2ShortOrderedMap unmodifiable()
unmodifiable in interface Char2ShortMapChar2ShortMaps.unmodifiable(speiger.src.collections.chars.maps.interfaces.Char2ShortMap)