public interface Short2ByteOrderedMap extends Short2ByteMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Short2ByteOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Short2ByteMap.BuilderCache, Short2ByteMap.Entry, Short2ByteMap.FastEntrySet, Short2ByteMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Short2ByteOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
byte |
firstByteValue()
A method to get the first Value of a Map.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
byte |
getAndMoveToFirst(short key)
A Specific get method that allows to move teh given key/value int the first index.
|
byte |
getAndMoveToLast(short key)
A Specific get method that allows to move teh given key/value int the last index.
|
ShortOrderedSet |
keySet() |
byte |
lastByteValue()
A method to get the last Value of a Map.
|
short |
lastShortKey()
A method to get the last Key of a Map.
|
boolean |
moveToFirst(short key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(short key)
A specific move method to move a given key/value to the last index.
|
short |
pollFirstShortKey()
A method to get and remove the first Key of a Map.
|
short |
pollLastShortKey()
A method to get and remove the last Key of a Map.
|
byte |
putAndMoveToFirst(short key,
byte value)
A customized put method that allows you to insert into the first index.
|
byte |
putAndMoveToLast(short key,
byte value)
A customized put method that allows you to insert into the last index.
|
ObjectOrderedSet<Short2ByteMap.Entry> |
short2ByteEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
default Short2ByteOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Short2ByteOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Short2ByteOrderedMap |
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(short key,
byte value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)byte putAndMoveToLast(short key,
byte value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(short key)
key - that should be moved to the first indexboolean moveToLast(short key)
key - that should be moved to the first lastbyte getAndMoveToFirst(short key)
key - that is searched forbyte getAndMoveToLast(short key)
key - that is searched forshort firstShortKey()
short pollFirstShortKey()
short lastShortKey()
short pollLastShortKey()
byte firstByteValue()
byte lastByteValue()
Short2ByteOrderedMap copy()
Short2ByteMapcopy in interface Short2ByteMapShortOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Short,java.lang.Byte>keySet in interface Short2ByteMapObjectOrderedSet<Short2ByteMap.Entry> short2ByteEntrySet()
Short2ByteMapshort2ByteEntrySet in interface Short2ByteMapdefault Short2ByteOrderedMap synchronize()
synchronize in interface Short2ByteMapShort2ByteMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2ByteMap)default Short2ByteOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Short2ByteMapmutex - is the controller of the synchronization blockShort2ByteMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2ByteMap)default Short2ByteOrderedMap unmodifiable()
unmodifiable in interface Short2ByteMapShort2ByteMaps.unmodifiable(speiger.src.collections.shorts.maps.interfaces.Short2ByteMap)