public interface Int2ByteOrderedMap extends Int2ByteMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Int2ByteOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Int2ByteMap.BuilderCache, Int2ByteMap.Entry, Int2ByteMap.FastEntrySet, Int2ByteMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Int2ByteOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
byte |
firstByteValue()
A method to get the first Value of a Map.
|
int |
firstIntKey()
A method to get the first Key of a Map.
|
byte |
getAndMoveToFirst(int key)
A Specific get method that allows to move teh given key/value int the first index.
|
byte |
getAndMoveToLast(int key)
A Specific get method that allows to move teh given key/value int the last index.
|
ObjectOrderedSet<Int2ByteMap.Entry> |
int2ByteEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
IntOrderedSet |
keySet() |
byte |
lastByteValue()
A method to get the last Value of a Map.
|
int |
lastIntKey()
A method to get the last Key of a Map.
|
boolean |
moveToFirst(int key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(int key)
A specific move method to move a given key/value to the last index.
|
int |
pollFirstIntKey()
A method to get and remove the first Key of a Map.
|
int |
pollLastIntKey()
A method to get and remove the last Key of a Map.
|
byte |
putAndMoveToFirst(int key,
byte value)
A customized put method that allows you to insert into the first index.
|
byte |
putAndMoveToLast(int key,
byte value)
A customized put method that allows you to insert into the last index.
|
default Int2ByteOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Int2ByteOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Int2ByteOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, builder, compute, computeByte, computeByteIfAbsent, computeByteIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllByte, mergeByte, 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, valuesbyte putAndMoveToFirst(int key,
byte value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)byte putAndMoveToLast(int key,
byte value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(int key)
key - that should be moved to the first indexboolean moveToLast(int key)
key - that should be moved to the first lastbyte getAndMoveToFirst(int key)
key - that is searched forbyte getAndMoveToLast(int key)
key - that is searched forint firstIntKey()
int pollFirstIntKey()
int lastIntKey()
int pollLastIntKey()
byte firstByteValue()
byte lastByteValue()
Int2ByteOrderedMap copy()
Int2ByteMapcopy in interface Int2ByteMapIntOrderedSet keySet()
keySet in interface Int2ByteMapkeySet in interface java.util.Map<java.lang.Integer,java.lang.Byte>ObjectOrderedSet<Int2ByteMap.Entry> int2ByteEntrySet()
Int2ByteMapint2ByteEntrySet in interface Int2ByteMapdefault Int2ByteOrderedMap synchronize()
synchronize in interface Int2ByteMapInt2ByteMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2ByteMap)default Int2ByteOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Int2ByteMapmutex - is the controller of the synchronization blockInt2ByteMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2ByteMap)default Int2ByteOrderedMap unmodifiable()
unmodifiable in interface Int2ByteMapInt2ByteMaps.unmodifiable(speiger.src.collections.ints.maps.interfaces.Int2ByteMap)