public static class Byte2LongMaps.UnmodifyableOrderedMap extends Byte2LongMaps.UnmodifyableMap implements Byte2LongOrderedMap
AbstractByte2LongMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Byte2LongOrderedMap.FastOrderedSetByte2LongMap.BuilderCache, Byte2LongMap.Entry, Byte2LongMap.FastEntrySet, Byte2LongMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
ObjectOrderedSet<Byte2LongMap.Entry> |
byte2LongEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
Byte2LongOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
byte |
firstByteKey()
A method to get the first Key of a Map.
|
long |
firstLongValue()
A method to get the first Value of a Map.
|
long |
getAndMoveToFirst(byte key)
A Specific get method that allows to move teh given key/value int the first index.
|
long |
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.
|
long |
lastLongValue()
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.
|
long |
putAndMoveToFirst(byte key,
long value)
A customized put method that allows you to insert into the first index.
|
long |
putAndMoveToLast(byte key,
long value)
A customized put method that allows you to insert into the last index.
|
addTo, clear, computeLong, computeLongIfAbsent, computeLongIfPresent, get, getOrDefault, mergeAllLong, mergeLong, put, putIfAbsent, remove, remove, removeOrDefault, replaceLongs, replaceLongs, subFrom, supplyLongIfAbsent, valuesaddToAll, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, put, putAll, putAll, putAll, putAll, putAllIfAbsent, remove, replace, replace, setDefaultReturnValuecontainsKey, containsValue, isEmpty, size, toStringsynchronize, synchronize, unmodifiableaddTo, addToAll, builder, compute, computeIfAbsent, computeIfPresent, computeLong, computeLongIfAbsent, computeLongIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllLong, mergeLong, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceLongs, replaceLongs, setDefaultReturnValue, subFrom, supplyLongIfAbsent, valuespublic long putAndMoveToFirst(byte key,
long value)
Byte2LongOrderedMapputAndMoveToFirst in interface Byte2LongOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public long putAndMoveToLast(byte key,
long value)
Byte2LongOrderedMapputAndMoveToLast in interface Byte2LongOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(byte key)
Byte2LongOrderedMapmoveToFirst in interface Byte2LongOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(byte key)
Byte2LongOrderedMapmoveToLast in interface Byte2LongOrderedMapkey - that should be moved to the first lastpublic long getAndMoveToFirst(byte key)
Byte2LongOrderedMapgetAndMoveToFirst in interface Byte2LongOrderedMapkey - that is searched forpublic long getAndMoveToLast(byte key)
Byte2LongOrderedMapgetAndMoveToLast in interface Byte2LongOrderedMapkey - that is searched forpublic byte firstByteKey()
Byte2LongOrderedMapfirstByteKey in interface Byte2LongOrderedMappublic byte pollFirstByteKey()
Byte2LongOrderedMappollFirstByteKey in interface Byte2LongOrderedMappublic byte lastByteKey()
Byte2LongOrderedMaplastByteKey in interface Byte2LongOrderedMappublic byte pollLastByteKey()
Byte2LongOrderedMappollLastByteKey in interface Byte2LongOrderedMappublic long firstLongValue()
Byte2LongOrderedMapfirstLongValue in interface Byte2LongOrderedMappublic long lastLongValue()
Byte2LongOrderedMaplastLongValue in interface Byte2LongOrderedMappublic Byte2LongOrderedMap copy()
Byte2LongMapcopy in interface Byte2LongMapcopy in interface Byte2LongOrderedMapcopy in class Byte2LongMaps.UnmodifyableMappublic ByteOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Byte,java.lang.Long>keySet in interface Byte2LongMapkeySet in interface Byte2LongOrderedMapkeySet in class Byte2LongMaps.UnmodifyableMappublic ObjectOrderedSet<Byte2LongMap.Entry> byte2LongEntrySet()
Byte2LongMapbyte2LongEntrySet in interface Byte2LongMapbyte2LongEntrySet in interface Byte2LongOrderedMapbyte2LongEntrySet in class Byte2LongMaps.UnmodifyableMap