public static class Long2ByteMaps.UnmodifyableSortedMap extends Long2ByteMaps.UnmodifyableMap implements Long2ByteSortedMap
AbstractLong2ByteMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Long2ByteSortedMap.FastSortedSetLong2ByteMap.Entry, Long2ByteMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
LongComparator |
comparator() |
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.
|
Long2ByteSortedMap |
headMap(long toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
byte |
lastByteValue()
A method to get the last Value of a Map.
|
long |
lastLongKey()
A method to get the last Key of a Map.
|
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.
|
Long2ByteSortedMap |
subMap(long fromKey,
long toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Long2ByteSortedMap |
tailMap(long fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, getByte, getOrDefault, keySet, long2ByteEntrySet, put, putIfAbsent, remLong, remLongOrDefault, remove, valuesaddToAll, computeByte, computeByteIfAbsent, computeByteIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, mergeAllByte, mergeByte, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceBytes, replaceBytes, setDefaultReturnValueclear, containsKey, containsValue, isEmpty, put, remove, size, toStringfirstKey, headMap, keySet, lastKey, subMap, tailMap, valuesaddTo, addToAll, compute, computeByte, computeByteIfAbsent, computeByteIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, getByte, getDefaultReturnValue, getOrDefault, getOrDefault, long2ByteEntrySet, merge, mergeAllByte, mergeByte, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remLong, remLongOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceBytes, replaceBytes, setDefaultReturnValuepublic byte putAndMoveToFirst(long key,
byte value)
Long2ByteSortedMapputAndMoveToFirst in interface Long2ByteSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public byte putAndMoveToLast(long key,
byte value)
Long2ByteSortedMapputAndMoveToLast in interface Long2ByteSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(long key)
Long2ByteSortedMapmoveToFirst in interface Long2ByteSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(long key)
Long2ByteSortedMapmoveToLast in interface Long2ByteSortedMapkey - that should be moved to the first lastpublic byte getAndMoveToFirst(long key)
Long2ByteSortedMapgetAndMoveToFirst in interface Long2ByteSortedMapkey - that is searched forpublic byte getAndMoveToLast(long key)
Long2ByteSortedMapgetAndMoveToLast in interface Long2ByteSortedMapkey - that is searched forpublic LongComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Long,java.lang.Byte>comparator in interface Long2ByteSortedMappublic Long2ByteSortedMap subMap(long fromKey, long toKey)
Long2ByteSortedMapsubMap in interface Long2ByteSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Long2ByteSortedMap headMap(long toKey)
Long2ByteSortedMapheadMap in interface Long2ByteSortedMaptoKey - where the headMap should endpublic Long2ByteSortedMap tailMap(long fromKey)
Long2ByteSortedMaptailMap in interface Long2ByteSortedMapfromKey - where the TailMap should startpublic long firstLongKey()
Long2ByteSortedMapfirstLongKey in interface Long2ByteSortedMappublic long pollFirstLongKey()
Long2ByteSortedMappollFirstLongKey in interface Long2ByteSortedMappublic long lastLongKey()
Long2ByteSortedMaplastLongKey in interface Long2ByteSortedMappublic long pollLastLongKey()
Long2ByteSortedMappollLastLongKey in interface Long2ByteSortedMappublic byte firstByteValue()
Long2ByteSortedMapfirstByteValue in interface Long2ByteSortedMappublic byte lastByteValue()
Long2ByteSortedMaplastByteValue in interface Long2ByteSortedMap