public static class Byte2ByteMaps.UnmodifyableSortedMap extends Byte2ByteMaps.UnmodifyableMap implements Byte2ByteSortedMap
AbstractByte2ByteMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Byte2ByteSortedMap.FastSortedSetByte2ByteMap.Entry, Byte2ByteMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ByteComparator |
comparator() |
byte |
firstByteKey()
A method to get the first Key of a Map.
|
byte |
firstByteValue()
A method to get the first Value of a Map.
|
byte |
getAndMoveToFirst(byte key)
A Specific get method that allows to move teh given key/value int the first index.
|
byte |
getAndMoveToLast(byte key)
A Specific get method that allows to move teh given key/value int the last index.
|
Byte2ByteSortedMap |
headMap(byte toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
byte |
lastByteKey()
A method to get the last Key of a Map.
|
byte |
lastByteValue()
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.
|
byte |
putAndMoveToFirst(byte key,
byte value)
A customized put method that allows you to insert into the first index.
|
byte |
putAndMoveToLast(byte key,
byte value)
A customized put method that allows you to insert into the last index.
|
Byte2ByteSortedMap |
subMap(byte fromKey,
byte toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Byte2ByteSortedMap |
tailMap(byte fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, byte2ByteEntrySet, getByte, getOrDefault, keySet, put, putIfAbsent, remByte, remByteOrDefault, 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, byte2ByteEntrySet, compute, computeByte, computeByteIfAbsent, computeByteIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, getByte, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllByte, mergeByte, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remByte, remByteOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceBytes, replaceBytes, setDefaultReturnValuepublic byte putAndMoveToFirst(byte key,
byte value)
Byte2ByteSortedMapputAndMoveToFirst in interface Byte2ByteSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public byte putAndMoveToLast(byte key,
byte value)
Byte2ByteSortedMapputAndMoveToLast in interface Byte2ByteSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(byte key)
Byte2ByteSortedMapmoveToFirst in interface Byte2ByteSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(byte key)
Byte2ByteSortedMapmoveToLast in interface Byte2ByteSortedMapkey - that should be moved to the first lastpublic byte getAndMoveToFirst(byte key)
Byte2ByteSortedMapgetAndMoveToFirst in interface Byte2ByteSortedMapkey - that is searched forpublic byte getAndMoveToLast(byte key)
Byte2ByteSortedMapgetAndMoveToLast in interface Byte2ByteSortedMapkey - that is searched forpublic ByteComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Byte,java.lang.Byte>comparator in interface Byte2ByteSortedMappublic Byte2ByteSortedMap subMap(byte fromKey, byte toKey)
Byte2ByteSortedMapsubMap in interface Byte2ByteSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Byte2ByteSortedMap headMap(byte toKey)
Byte2ByteSortedMapheadMap in interface Byte2ByteSortedMaptoKey - where the headMap should endpublic Byte2ByteSortedMap tailMap(byte fromKey)
Byte2ByteSortedMaptailMap in interface Byte2ByteSortedMapfromKey - where the TailMap should startpublic byte firstByteKey()
Byte2ByteSortedMapfirstByteKey in interface Byte2ByteSortedMappublic byte pollFirstByteKey()
Byte2ByteSortedMappollFirstByteKey in interface Byte2ByteSortedMappublic byte lastByteKey()
Byte2ByteSortedMaplastByteKey in interface Byte2ByteSortedMappublic byte pollLastByteKey()
Byte2ByteSortedMappollLastByteKey in interface Byte2ByteSortedMappublic byte firstByteValue()
Byte2ByteSortedMapfirstByteValue in interface Byte2ByteSortedMappublic byte lastByteValue()
Byte2ByteSortedMaplastByteValue in interface Byte2ByteSortedMap