public static class Byte2ShortMaps.SynchronizedOrderedMap extends Byte2ShortMaps.SynchronizedMap implements Byte2ShortOrderedMap
AbstractByte2ShortMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Byte2ShortOrderedMap.FastOrderedSetByte2ShortMap.BuilderCache, Byte2ShortMap.Entry, Byte2ShortMap.FastEntrySet, Byte2ShortMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
ObjectOrderedSet<Byte2ShortMap.Entry> |
byte2ShortEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
Byte2ShortOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
byte |
firstByteKey()
A method to get the first Key of a Map.
|
short |
firstShortValue()
A method to get the first Value of a Map.
|
short |
getAndMoveToFirst(byte key)
A Specific get method that allows to move teh given key/value int the first index.
|
short |
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.
|
short |
lastShortValue()
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.
|
short |
putAndMoveToFirst(byte key,
short value)
A customized put method that allows you to insert into the first index.
|
short |
putAndMoveToLast(byte key,
short value)
A customized put method that allows you to insert into the last index.
|
addTo, addToAll, clear, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfPresent, containsKey, containsKey, containsValue, containsValue, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllShort, mergeShort, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValue, size, subFrom, supplyShortIfAbsent, valuesentrySet, equals, hashCode, putAllsynchronize, synchronize, unmodifiableaddTo, addToAll, applyAsShort, builder, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllShort, mergeShort, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValue, subFrom, supplyShortIfAbsent, valuespublic short putAndMoveToFirst(byte key,
short value)
Byte2ShortOrderedMapputAndMoveToFirst in interface Byte2ShortOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public short putAndMoveToLast(byte key,
short value)
Byte2ShortOrderedMapputAndMoveToLast in interface Byte2ShortOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(byte key)
Byte2ShortOrderedMapmoveToFirst in interface Byte2ShortOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(byte key)
Byte2ShortOrderedMapmoveToLast in interface Byte2ShortOrderedMapkey - that should be moved to the first lastpublic short getAndMoveToFirst(byte key)
Byte2ShortOrderedMapgetAndMoveToFirst in interface Byte2ShortOrderedMapkey - that is searched forpublic short getAndMoveToLast(byte key)
Byte2ShortOrderedMapgetAndMoveToLast in interface Byte2ShortOrderedMapkey - that is searched forpublic byte firstByteKey()
Byte2ShortOrderedMapfirstByteKey in interface Byte2ShortOrderedMappublic byte pollFirstByteKey()
Byte2ShortOrderedMappollFirstByteKey in interface Byte2ShortOrderedMappublic byte lastByteKey()
Byte2ShortOrderedMaplastByteKey in interface Byte2ShortOrderedMappublic byte pollLastByteKey()
Byte2ShortOrderedMappollLastByteKey in interface Byte2ShortOrderedMappublic short firstShortValue()
Byte2ShortOrderedMapfirstShortValue in interface Byte2ShortOrderedMappublic short lastShortValue()
Byte2ShortOrderedMaplastShortValue in interface Byte2ShortOrderedMappublic Byte2ShortOrderedMap copy()
Byte2ShortMapcopy in interface Byte2ShortMapcopy in interface Byte2ShortOrderedMapcopy in class Byte2ShortMaps.SynchronizedMappublic ByteOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Byte,java.lang.Short>keySet in interface Byte2ShortMapkeySet in interface Byte2ShortOrderedMapkeySet in class Byte2ShortMaps.SynchronizedMappublic ObjectOrderedSet<Byte2ShortMap.Entry> byte2ShortEntrySet()
Byte2ShortMapbyte2ShortEntrySet in interface Byte2ShortMapbyte2ShortEntrySet in interface Byte2ShortOrderedMapbyte2ShortEntrySet in class Byte2ShortMaps.SynchronizedMap