public static class Int2ByteMaps.UnmodifyableSortedMap extends Int2ByteMaps.UnmodifyableMap implements Int2ByteSortedMap
AbstractInt2ByteMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Int2ByteSortedMap.FastSortedSetInt2ByteMap.Entry, Int2ByteMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
IntComparator |
comparator() |
byte |
firstByteValue()
A method to get the first Value of a Map.
|
int |
firstIntKey()
A method to get the first Key of a Map.
|
byte |
getAndMoveToFirst(int key)
A Specific get method that allows to move teh given key/value int the first index.
|
byte |
getAndMoveToLast(int key)
A Specific get method that allows to move teh given key/value int the last index.
|
Int2ByteSortedMap |
headMap(int toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
byte |
lastByteValue()
A method to get the last Value of a Map.
|
int |
lastIntKey()
A method to get the last Key of a Map.
|
boolean |
moveToFirst(int key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(int key)
A specific move method to move a given key/value to the last index.
|
int |
pollFirstIntKey()
A method to get and remove the first Key of a Map.
|
int |
pollLastIntKey()
A method to get and remove the last Key of a Map.
|
byte |
putAndMoveToFirst(int key,
byte value)
A customized put method that allows you to insert into the first index.
|
byte |
putAndMoveToLast(int key,
byte value)
A customized put method that allows you to insert into the last index.
|
Int2ByteSortedMap |
subMap(int fromKey,
int toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Int2ByteSortedMap |
tailMap(int fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, getByte, getOrDefault, int2ByteEntrySet, keySet, put, putIfAbsent, remInt, remIntOrDefault, 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, int2ByteEntrySet, merge, mergeAllByte, mergeByte, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remInt, remIntOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceBytes, replaceBytes, setDefaultReturnValuepublic byte putAndMoveToFirst(int key,
byte value)
Int2ByteSortedMapputAndMoveToFirst in interface Int2ByteSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public byte putAndMoveToLast(int key,
byte value)
Int2ByteSortedMapputAndMoveToLast in interface Int2ByteSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(int key)
Int2ByteSortedMapmoveToFirst in interface Int2ByteSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(int key)
Int2ByteSortedMapmoveToLast in interface Int2ByteSortedMapkey - that should be moved to the first lastpublic byte getAndMoveToFirst(int key)
Int2ByteSortedMapgetAndMoveToFirst in interface Int2ByteSortedMapkey - that is searched forpublic byte getAndMoveToLast(int key)
Int2ByteSortedMapgetAndMoveToLast in interface Int2ByteSortedMapkey - that is searched forpublic IntComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Integer,java.lang.Byte>comparator in interface Int2ByteSortedMappublic Int2ByteSortedMap subMap(int fromKey, int toKey)
Int2ByteSortedMapsubMap in interface Int2ByteSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Int2ByteSortedMap headMap(int toKey)
Int2ByteSortedMapheadMap in interface Int2ByteSortedMaptoKey - where the headMap should endpublic Int2ByteSortedMap tailMap(int fromKey)
Int2ByteSortedMaptailMap in interface Int2ByteSortedMapfromKey - where the TailMap should startpublic int firstIntKey()
Int2ByteSortedMapfirstIntKey in interface Int2ByteSortedMappublic int pollFirstIntKey()
Int2ByteSortedMappollFirstIntKey in interface Int2ByteSortedMappublic int lastIntKey()
Int2ByteSortedMaplastIntKey in interface Int2ByteSortedMappublic int pollLastIntKey()
Int2ByteSortedMappollLastIntKey in interface Int2ByteSortedMappublic byte firstByteValue()
Int2ByteSortedMapfirstByteValue in interface Int2ByteSortedMappublic byte lastByteValue()
Int2ByteSortedMaplastByteValue in interface Int2ByteSortedMap