public interface Byte2ByteOrderedMap extends Byte2ByteMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Byte2ByteOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Byte2ByteMap.BuilderCache, Byte2ByteMap.Entry, Byte2ByteMap.FastEntrySet, Byte2ByteMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
ObjectOrderedSet<Byte2ByteMap.Entry> |
byte2ByteEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
Byte2ByteOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
byte |
firstByteKey()
A method to get the first Key of a Map.
|
byte |
firstByteValue()
A method to get the first Value of a Map.
|
byte |
getAndMoveToFirst(byte key)
A Specific get method that allows to move teh given key/value int the first index.
|
byte |
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.
|
byte |
lastByteValue()
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.
|
byte |
putAndMoveToFirst(byte key,
byte value)
A customized put method that allows you to insert into the first index.
|
byte |
putAndMoveToLast(byte key,
byte value)
A customized put method that allows you to insert into the last index.
|
default Byte2ByteOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Byte2ByteOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Byte2ByteOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, applyAsByte, builder, compute, computeByte, computeByteIfAbsent, computeByteIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllByte, mergeByte, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceBytes, replaceBytes, setDefaultReturnValue, subFrom, supplyByteIfAbsent, valuesandThen, compose, identitybyte putAndMoveToFirst(byte key,
byte value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)byte putAndMoveToLast(byte key,
byte 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 lastbyte getAndMoveToFirst(byte key)
key - that is searched forbyte getAndMoveToLast(byte key)
key - that is searched forbyte firstByteKey()
byte pollFirstByteKey()
byte lastByteKey()
byte pollLastByteKey()
byte firstByteValue()
byte lastByteValue()
Byte2ByteOrderedMap copy()
Byte2ByteMapcopy in interface Byte2ByteMapByteOrderedSet keySet()
keySet in interface Byte2ByteMapkeySet in interface java.util.Map<java.lang.Byte,java.lang.Byte>ObjectOrderedSet<Byte2ByteMap.Entry> byte2ByteEntrySet()
Byte2ByteMapbyte2ByteEntrySet in interface Byte2ByteMapdefault Byte2ByteOrderedMap synchronize()
synchronize in interface Byte2ByteMapByte2ByteMaps.synchronize(speiger.src.collections.bytes.maps.interfaces.Byte2ByteMap)default Byte2ByteOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Byte2ByteMapmutex - is the controller of the synchronization blockByte2ByteMaps.synchronize(speiger.src.collections.bytes.maps.interfaces.Byte2ByteMap)default Byte2ByteOrderedMap unmodifiable()
unmodifiable in interface Byte2ByteMapByte2ByteMaps.unmodifiable(speiger.src.collections.bytes.maps.interfaces.Byte2ByteMap)