T - the keyType of elements maintained by this CollectionV - the keyType of elements maintained by this Collectionpublic static class Object2ObjectMaps.UnmodifyableOrderedMap<T,V> extends Object2ObjectMaps.UnmodifyableMap<T,V> implements Object2ObjectOrderedMap<T,V>
AbstractObject2ObjectMap.BasicEntry<T,V>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Object2ObjectOrderedMap.FastOrderedSet<T,V>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.
|
clear, compute, computeIfAbsent, computeIfPresent, getObject, merge, mergeAll, put, putIfAbsent, rem, remOrDefault, replaceObjects, replaceObjects, supplyIfAbsent, valuescontainsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, putAll, putAll, putAll, putAllIfAbsent, remove, replace, replace, setDefaultReturnValuesynchronize, synchronize, unmodifiableapply, 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, identitypublic V putAndMoveToFirst(T key, V value)
Object2ObjectOrderedMapputAndMoveToFirst in interface Object2ObjectOrderedMap<T,V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public V putAndMoveToLast(T key, V value)
Object2ObjectOrderedMapputAndMoveToLast in interface Object2ObjectOrderedMap<T,V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(T key)
Object2ObjectOrderedMapmoveToFirst in interface Object2ObjectOrderedMap<T,V>key - that should be moved to the first indexpublic boolean moveToLast(T key)
Object2ObjectOrderedMapmoveToLast in interface Object2ObjectOrderedMap<T,V>key - that should be moved to the first lastpublic V getAndMoveToFirst(T key)
Object2ObjectOrderedMapgetAndMoveToFirst in interface Object2ObjectOrderedMap<T,V>key - that is searched forpublic V getAndMoveToLast(T key)
Object2ObjectOrderedMapgetAndMoveToLast in interface Object2ObjectOrderedMap<T,V>key - that is searched forpublic T firstKey()
Object2ObjectOrderedMapfirstKey in interface Object2ObjectOrderedMap<T,V>public T pollFirstKey()
Object2ObjectOrderedMappollFirstKey in interface Object2ObjectOrderedMap<T,V>public T lastKey()
Object2ObjectOrderedMaplastKey in interface Object2ObjectOrderedMap<T,V>public T pollLastKey()
Object2ObjectOrderedMappollLastKey in interface Object2ObjectOrderedMap<T,V>public V firstValue()
Object2ObjectOrderedMapfirstValue in interface Object2ObjectOrderedMap<T,V>public V lastValue()
Object2ObjectOrderedMaplastValue in interface Object2ObjectOrderedMap<T,V>public Object2ObjectOrderedMap<T,V> copy()
Object2ObjectMapcopy in interface Object2ObjectMap<T,V>copy in interface Object2ObjectOrderedMap<T,V>copy in class Object2ObjectMaps.UnmodifyableMap<T,V>public ObjectOrderedSet<T> keySet()
keySet in interface java.util.Map<T,V>keySet in interface Object2ObjectMap<T,V>keySet in interface Object2ObjectOrderedMap<T,V>keySet in class Object2ObjectMaps.UnmodifyableMap<T,V>public ObjectOrderedSet<Object2ObjectMap.Entry<T,V>> object2ObjectEntrySet()
Object2ObjectMapobject2ObjectEntrySet in interface Object2ObjectMap<T,V>object2ObjectEntrySet in interface Object2ObjectOrderedMap<T,V>object2ObjectEntrySet in class Object2ObjectMaps.UnmodifyableMap<T,V>