T - the keyType of elements maintained by this CollectionV - the keyType of elements maintained by this Collectionpublic interface Object2ObjectOrderedMap<T,V> extends Object2ObjectMap<T,V>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Object2ObjectOrderedMap.FastOrderedSet<T,V>
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Object2ObjectMap.BuilderCache<T,V>, Object2ObjectMap.Entry<T,V>, Object2ObjectMap.FastEntrySet<T,V>, Object2ObjectMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Object2ObjectOrderedMap<T,V> |
copy()
A Function that does a shallow clone of the Map itself.
|
T |
firstKey()
A method to get the first Key of a Map.
|
V |
firstValue()
A method to get the first Value of a Map.
|
V |
getAndMoveToFirst(T key)
A Specific get method that allows to move teh given key/value int the first index.
|
V |
getAndMoveToLast(T key)
A Specific get method that allows to move teh given key/value int the last index.
|
ObjectOrderedSet<T> |
keySet() |
T |
lastKey()
A method to get the last Key of a Map.
|
V |
lastValue()
A method to get the last Value 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<Object2ObjectMap.Entry<T,V>> |
object2ObjectEntrySet()
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.
|
V |
putAndMoveToFirst(T key,
V value)
A customized put method that allows you to insert into the first index.
|
V |
putAndMoveToLast(T key,
V value)
A customized put method that allows you to insert into the last index.
|
default Object2ObjectOrderedMap<T,V> |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Object2ObjectOrderedMap<T,V> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Object2ObjectOrderedMap<T,V> |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
apply, builder, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, entrySet, forEach, forEach, getDefaultReturnValue, getObject, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, rem, remOrDefault, remove, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, supplyIfAbsent, valuesclear, containsKey, containsValue, equals, get, getOrDefault, hashCode, isEmpty, putAll, remove, sizeandThen, compose, identityV putAndMoveToFirst(T key, V value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)V putAndMoveToLast(T key, V value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(T key)
key - that should be moved to the first indexboolean moveToLast(T key)
key - that should be moved to the first lastV getAndMoveToFirst(T key)
key - that is searched forV getAndMoveToLast(T key)
key - that is searched forT firstKey()
T pollFirstKey()
T lastKey()
T pollLastKey()
V firstValue()
V lastValue()
Object2ObjectOrderedMap<T,V> copy()
Object2ObjectMapcopy in interface Object2ObjectMap<T,V>ObjectOrderedSet<T> keySet()
ObjectOrderedSet<Object2ObjectMap.Entry<T,V>> object2ObjectEntrySet()
Object2ObjectMapobject2ObjectEntrySet in interface Object2ObjectMap<T,V>default Object2ObjectOrderedMap<T,V> synchronize()
synchronize in interface Object2ObjectMap<T,V>Object2ObjectMaps.synchronize(speiger.src.collections.objects.maps.interfaces.Object2ObjectMap<T, V>)default Object2ObjectOrderedMap<T,V> synchronize(java.lang.Object mutex)
synchronize in interface Object2ObjectMap<T,V>mutex - is the controller of the synchronization blockObject2ObjectMaps.synchronize(speiger.src.collections.objects.maps.interfaces.Object2ObjectMap<T, V>)default Object2ObjectOrderedMap<T,V> unmodifiable()
unmodifiable in interface Object2ObjectMap<T,V>Object2ObjectMaps.unmodifiable(speiger.src.collections.objects.maps.interfaces.Object2ObjectMap<T, V>)