V - the keyType of elements maintained by this Collectionpublic interface Byte2ObjectOrderedMap<V> extends Byte2ObjectMap<V>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Byte2ObjectOrderedMap.FastOrderedSet<V>
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
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.
|
default Byte2ObjectOrderedMap<V> |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Byte2ObjectOrderedMap<V> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Byte2ObjectOrderedMap<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(byte key, V value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)V putAndMoveToLast(byte key, V value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(byte key)
key - that should be moved to the first indexboolean moveToLast(byte key)
key - that should be moved to the first lastV getAndMoveToFirst(byte key)
key - that is searched forV getAndMoveToLast(byte key)
key - that is searched forbyte firstByteKey()
byte pollFirstByteKey()
byte lastByteKey()
byte pollLastByteKey()
V firstValue()
V lastValue()
Byte2ObjectOrderedMap<V> copy()
Byte2ObjectMapcopy in interface Byte2ObjectMap<V>ByteOrderedSet keySet()
keySet in interface Byte2ObjectMap<V>keySet in interface java.util.Map<java.lang.Byte,V>ObjectOrderedSet<Byte2ObjectMap.Entry<V>> byte2ObjectEntrySet()
Byte2ObjectMapbyte2ObjectEntrySet in interface Byte2ObjectMap<V>default Byte2ObjectOrderedMap<V> synchronize()
synchronize in interface Byte2ObjectMap<V>Byte2ObjectMaps.synchronize(speiger.src.collections.bytes.maps.interfaces.Byte2ObjectMap<V>)default Byte2ObjectOrderedMap<V> synchronize(java.lang.Object mutex)
synchronize in interface Byte2ObjectMap<V>mutex - is the controller of the synchronization blockByte2ObjectMaps.synchronize(speiger.src.collections.bytes.maps.interfaces.Byte2ObjectMap<V>)default Byte2ObjectOrderedMap<V> unmodifiable()
unmodifiable in interface Byte2ObjectMap<V>Byte2ObjectMaps.unmodifiable(speiger.src.collections.bytes.maps.interfaces.Byte2ObjectMap<V>)