V - the keyType of elements maintained by this Collectionpublic interface Char2ObjectOrderedMap<V> extends Char2ObjectMap<V>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Char2ObjectOrderedMap.FastOrderedSet<V>
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
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.
|
default Char2ObjectOrderedMap<V> |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Char2ObjectOrderedMap<V> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Char2ObjectOrderedMap<V> |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
apply, builder, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, supplyIfAbsent, valuesV putAndMoveToFirst(char key, V value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)V putAndMoveToLast(char key, V 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 lastV getAndMoveToFirst(char key)
key - that is searched forV getAndMoveToLast(char key)
key - that is searched forchar firstCharKey()
char pollFirstCharKey()
char lastCharKey()
char pollLastCharKey()
V firstValue()
V lastValue()
Char2ObjectOrderedMap<V> copy()
Char2ObjectMapcopy in interface Char2ObjectMap<V>CharOrderedSet keySet()
keySet in interface Char2ObjectMap<V>keySet in interface java.util.Map<java.lang.Character,V>ObjectOrderedSet<Char2ObjectMap.Entry<V>> char2ObjectEntrySet()
Char2ObjectMapchar2ObjectEntrySet in interface Char2ObjectMap<V>default Char2ObjectOrderedMap<V> synchronize()
synchronize in interface Char2ObjectMap<V>Char2ObjectMaps.synchronize(speiger.src.collections.chars.maps.interfaces.Char2ObjectMap<V>)default Char2ObjectOrderedMap<V> synchronize(java.lang.Object mutex)
synchronize in interface Char2ObjectMap<V>mutex - is the controller of the synchronization blockChar2ObjectMaps.synchronize(speiger.src.collections.chars.maps.interfaces.Char2ObjectMap<V>)default Char2ObjectOrderedMap<V> unmodifiable()
unmodifiable in interface Char2ObjectMap<V>Char2ObjectMaps.unmodifiable(speiger.src.collections.chars.maps.interfaces.Char2ObjectMap<V>)