public static class Short2ByteMaps.SynchronizedOrderedMap extends Short2ByteMaps.SynchronizedMap implements Short2ByteOrderedMap
AbstractShort2ByteMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Short2ByteOrderedMap.FastOrderedSetShort2ByteMap.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.
|
addTo, addToAll, clear, compute, computeByte, computeByteIfAbsent, computeByteIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllByte, mergeByte, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceBytes, replaceBytes, setDefaultReturnValue, size, subFrom, supplyByteIfAbsent, valuesentrySet, equals, hashCode, putAllsynchronize, synchronize, unmodifiableaddTo, 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, valuespublic byte putAndMoveToFirst(short key,
byte value)
Short2ByteOrderedMapputAndMoveToFirst in interface Short2ByteOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public byte putAndMoveToLast(short key,
byte value)
Short2ByteOrderedMapputAndMoveToLast in interface Short2ByteOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(short key)
Short2ByteOrderedMapmoveToFirst in interface Short2ByteOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(short key)
Short2ByteOrderedMapmoveToLast in interface Short2ByteOrderedMapkey - that should be moved to the first lastpublic byte getAndMoveToFirst(short key)
Short2ByteOrderedMapgetAndMoveToFirst in interface Short2ByteOrderedMapkey - that is searched forpublic byte getAndMoveToLast(short key)
Short2ByteOrderedMapgetAndMoveToLast in interface Short2ByteOrderedMapkey - that is searched forpublic short firstShortKey()
Short2ByteOrderedMapfirstShortKey in interface Short2ByteOrderedMappublic short pollFirstShortKey()
Short2ByteOrderedMappollFirstShortKey in interface Short2ByteOrderedMappublic short lastShortKey()
Short2ByteOrderedMaplastShortKey in interface Short2ByteOrderedMappublic short pollLastShortKey()
Short2ByteOrderedMappollLastShortKey in interface Short2ByteOrderedMappublic byte firstByteValue()
Short2ByteOrderedMapfirstByteValue in interface Short2ByteOrderedMappublic byte lastByteValue()
Short2ByteOrderedMaplastByteValue in interface Short2ByteOrderedMappublic Short2ByteOrderedMap copy()
Short2ByteMapcopy in interface Short2ByteMapcopy in interface Short2ByteOrderedMapcopy in class Short2ByteMaps.SynchronizedMappublic ShortOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Short,java.lang.Byte>keySet in interface Short2ByteMapkeySet in interface Short2ByteOrderedMapkeySet in class Short2ByteMaps.SynchronizedMappublic ObjectOrderedSet<Short2ByteMap.Entry> short2ByteEntrySet()
Short2ByteMapshort2ByteEntrySet in interface Short2ByteMapshort2ByteEntrySet in interface Short2ByteOrderedMapshort2ByteEntrySet in class Short2ByteMaps.SynchronizedMap