public interface Byte2IntOrderedMap extends Byte2IntMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Byte2IntOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Byte2IntMap.BuilderCache, Byte2IntMap.Entry, Byte2IntMap.FastEntrySet, Byte2IntMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
ObjectOrderedSet<Byte2IntMap.Entry> |
byte2IntEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
Byte2IntOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
byte |
firstByteKey()
A method to get the first Key of a Map.
|
int |
firstIntValue()
A method to get the first Value of a Map.
|
int |
getAndMoveToFirst(byte key)
A Specific get method that allows to move teh given key/value int the first index.
|
int |
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.
|
int |
lastIntValue()
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.
|
int |
putAndMoveToFirst(byte key,
int value)
A customized put method that allows you to insert into the first index.
|
int |
putAndMoveToLast(byte key,
int value)
A customized put method that allows you to insert into the last index.
|
default Byte2IntOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Byte2IntOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Byte2IntOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, applyAsInt, builder, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllInt, mergeInt, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValue, subFrom, supplyIntIfAbsent, valuesint putAndMoveToFirst(byte key,
int value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)int putAndMoveToLast(byte key,
int 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 lastint getAndMoveToFirst(byte key)
key - that is searched forint getAndMoveToLast(byte key)
key - that is searched forbyte firstByteKey()
byte pollFirstByteKey()
byte lastByteKey()
byte pollLastByteKey()
int firstIntValue()
int lastIntValue()
Byte2IntOrderedMap copy()
Byte2IntMapcopy in interface Byte2IntMapByteOrderedSet keySet()
keySet in interface Byte2IntMapkeySet in interface java.util.Map<java.lang.Byte,java.lang.Integer>ObjectOrderedSet<Byte2IntMap.Entry> byte2IntEntrySet()
Byte2IntMapbyte2IntEntrySet in interface Byte2IntMapdefault Byte2IntOrderedMap synchronize()
synchronize in interface Byte2IntMapByte2IntMaps.synchronize(speiger.src.collections.bytes.maps.interfaces.Byte2IntMap)default Byte2IntOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Byte2IntMapmutex - is the controller of the synchronization blockByte2IntMaps.synchronize(speiger.src.collections.bytes.maps.interfaces.Byte2IntMap)default Byte2IntOrderedMap unmodifiable()
unmodifiable in interface Byte2IntMapByte2IntMaps.unmodifiable(speiger.src.collections.bytes.maps.interfaces.Byte2IntMap)