public static class Long2ByteMaps.SynchronizedOrderedMap extends Long2ByteMaps.SynchronizedMap implements Long2ByteOrderedMap
AbstractLong2ByteMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Long2ByteOrderedMap.FastOrderedSetLong2ByteMap.BuilderCache, Long2ByteMap.Entry, Long2ByteMap.FastEntrySet, Long2ByteMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Long2ByteOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
byte |
firstByteValue()
A method to get the first Value of a Map.
|
long |
firstLongKey()
A method to get the first Key of a Map.
|
byte |
getAndMoveToFirst(long key)
A Specific get method that allows to move teh given key/value int the first index.
|
byte |
getAndMoveToLast(long key)
A Specific get method that allows to move teh given key/value int the last index.
|
LongOrderedSet |
keySet() |
byte |
lastByteValue()
A method to get the last Value of a Map.
|
long |
lastLongKey()
A method to get the last Key of a Map.
|
ObjectOrderedSet<Long2ByteMap.Entry> |
long2ByteEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
boolean |
moveToFirst(long key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(long key)
A specific move method to move a given key/value to the last index.
|
long |
pollFirstLongKey()
A method to get and remove the first Key of a Map.
|
long |
pollLastLongKey()
A method to get and remove the last Key of a Map.
|
byte |
putAndMoveToFirst(long key,
byte value)
A customized put method that allows you to insert into the first index.
|
byte |
putAndMoveToLast(long key,
byte value)
A customized put method that allows you to insert into the last index.
|
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, applyAsByte, builder, compute, computeByte, computeByteIfAbsent, computeByteIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllByte, mergeByte, put, put, 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(long key,
byte value)
Long2ByteOrderedMapputAndMoveToFirst in interface Long2ByteOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public byte putAndMoveToLast(long key,
byte value)
Long2ByteOrderedMapputAndMoveToLast in interface Long2ByteOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(long key)
Long2ByteOrderedMapmoveToFirst in interface Long2ByteOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(long key)
Long2ByteOrderedMapmoveToLast in interface Long2ByteOrderedMapkey - that should be moved to the first lastpublic byte getAndMoveToFirst(long key)
Long2ByteOrderedMapgetAndMoveToFirst in interface Long2ByteOrderedMapkey - that is searched forpublic byte getAndMoveToLast(long key)
Long2ByteOrderedMapgetAndMoveToLast in interface Long2ByteOrderedMapkey - that is searched forpublic long firstLongKey()
Long2ByteOrderedMapfirstLongKey in interface Long2ByteOrderedMappublic long pollFirstLongKey()
Long2ByteOrderedMappollFirstLongKey in interface Long2ByteOrderedMappublic long lastLongKey()
Long2ByteOrderedMaplastLongKey in interface Long2ByteOrderedMappublic long pollLastLongKey()
Long2ByteOrderedMappollLastLongKey in interface Long2ByteOrderedMappublic byte firstByteValue()
Long2ByteOrderedMapfirstByteValue in interface Long2ByteOrderedMappublic byte lastByteValue()
Long2ByteOrderedMaplastByteValue in interface Long2ByteOrderedMappublic Long2ByteOrderedMap copy()
Long2ByteMapcopy in interface Long2ByteMapcopy in interface Long2ByteOrderedMapcopy in class Long2ByteMaps.SynchronizedMappublic LongOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Long,java.lang.Byte>keySet in interface Long2ByteMapkeySet in interface Long2ByteOrderedMapkeySet in class Long2ByteMaps.SynchronizedMappublic ObjectOrderedSet<Long2ByteMap.Entry> long2ByteEntrySet()
Long2ByteMaplong2ByteEntrySet in interface Long2ByteMaplong2ByteEntrySet in interface Long2ByteOrderedMaplong2ByteEntrySet in class Long2ByteMaps.SynchronizedMap