V - the keyType of elements maintained by this Collectionpublic static class Byte2ObjectMaps.UnmodifyableOrderedMap<V> extends Byte2ObjectMaps.UnmodifyableMap<V> implements Byte2ObjectOrderedMap<V>
AbstractByte2ObjectMap.BasicEntry<V>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Byte2ObjectOrderedMap.FastOrderedSet<V>Byte2ObjectMap.BuilderCache<V>, Byte2ObjectMap.Entry<V>, Byte2ObjectMap.FastEntrySet<V>, Byte2ObjectMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
ObjectOrderedSet<Byte2ObjectMap.Entry<V>> |
byte2ObjectEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
Byte2ObjectOrderedMap<V> |
copy()
A Function that does a shallow clone of the Map itself.
|
byte |
firstByteKey()
A method to get the first Key of a Map.
|
V |
firstValue()
A method to get the first Value of a Map.
|
V |
getAndMoveToFirst(byte key)
A Specific get method that allows to move teh given key/value int the first index.
|
V |
getAndMoveToLast(byte key)
A Specific get method that allows to move teh given key/value int the last index.
|
ByteOrderedSet |
keySet() |
byte |
lastByteKey()
A method to get the last Key of a Map.
|
V |
lastValue()
A method to get the last Value of a Map.
|
boolean |
moveToFirst(byte key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(byte key)
A specific move method to move a given key/value to the last index.
|
byte |
pollFirstByteKey()
A method to get and remove the first Key of a Map.
|
byte |
pollLastByteKey()
A method to get and remove the last Key of a Map.
|
V |
putAndMoveToFirst(byte key,
V value)
A customized put method that allows you to insert into the first index.
|
V |
putAndMoveToLast(byte key,
V value)
A customized put method that allows you to insert into the last index.
|
clear, compute, computeIfAbsent, computeIfPresent, get, getOrDefault, merge, mergeAll, put, putIfAbsent, remove, remove, removeOrDefault, replaceObjects, replaceObjects, supplyIfAbsent, valuescontainsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, put, putAll, putAll, putAll, putAll, putAllIfAbsent, remove, replace, replace, setDefaultReturnValuesynchronize, synchronize, unmodifiableapply, 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, valuespublic V putAndMoveToFirst(byte key, V value)
Byte2ObjectOrderedMapputAndMoveToFirst in interface Byte2ObjectOrderedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public V putAndMoveToLast(byte key, V value)
Byte2ObjectOrderedMapputAndMoveToLast in interface Byte2ObjectOrderedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(byte key)
Byte2ObjectOrderedMapmoveToFirst in interface Byte2ObjectOrderedMap<V>key - that should be moved to the first indexpublic boolean moveToLast(byte key)
Byte2ObjectOrderedMapmoveToLast in interface Byte2ObjectOrderedMap<V>key - that should be moved to the first lastpublic V getAndMoveToFirst(byte key)
Byte2ObjectOrderedMapgetAndMoveToFirst in interface Byte2ObjectOrderedMap<V>key - that is searched forpublic V getAndMoveToLast(byte key)
Byte2ObjectOrderedMapgetAndMoveToLast in interface Byte2ObjectOrderedMap<V>key - that is searched forpublic byte firstByteKey()
Byte2ObjectOrderedMapfirstByteKey in interface Byte2ObjectOrderedMap<V>public byte pollFirstByteKey()
Byte2ObjectOrderedMappollFirstByteKey in interface Byte2ObjectOrderedMap<V>public byte lastByteKey()
Byte2ObjectOrderedMaplastByteKey in interface Byte2ObjectOrderedMap<V>public byte pollLastByteKey()
Byte2ObjectOrderedMappollLastByteKey in interface Byte2ObjectOrderedMap<V>public V firstValue()
Byte2ObjectOrderedMapfirstValue in interface Byte2ObjectOrderedMap<V>public V lastValue()
Byte2ObjectOrderedMaplastValue in interface Byte2ObjectOrderedMap<V>public Byte2ObjectOrderedMap<V> copy()
Byte2ObjectMapcopy in interface Byte2ObjectMap<V>copy in interface Byte2ObjectOrderedMap<V>copy in class Byte2ObjectMaps.UnmodifyableMap<V>public ByteOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Byte,V>keySet in interface Byte2ObjectMap<V>keySet in interface Byte2ObjectOrderedMap<V>keySet in class Byte2ObjectMaps.UnmodifyableMap<V>public ObjectOrderedSet<Byte2ObjectMap.Entry<V>> byte2ObjectEntrySet()
Byte2ObjectMapbyte2ObjectEntrySet in interface Byte2ObjectMap<V>byte2ObjectEntrySet in interface Byte2ObjectOrderedMap<V>byte2ObjectEntrySet in class Byte2ObjectMaps.UnmodifyableMap<V>