public static class Byte2IntMaps.SynchronizedSortedMap extends Byte2IntMaps.SynchronizedMap implements Byte2IntSortedMap
AbstractByte2IntMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Byte2IntSortedMap.FastSortedSetByte2IntMap.Entry, Byte2IntMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ByteComparator |
comparator() |
byte |
firstByteKey()
A method to get the first Key of a Map.
|
int |
firstIntValue()
A method to get the first Value of a Map.
|
java.lang.Byte |
firstKey()
Deprecated.
|
int |
getAndMoveToFirst(byte key)
A Specific get method that allows to move teh given key/value int the first index.
|
int |
getAndMoveToLast(byte key)
A Specific get method that allows to move teh given key/value int the last index.
|
Byte2IntSortedMap |
headMap(byte toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
Byte2IntSortedMap |
headMap(java.lang.Byte toKey)
Deprecated.
|
byte |
lastByteKey()
A method to get the last Key of a Map.
|
int |
lastIntValue()
A method to get the last Value of a Map.
|
java.lang.Byte |
lastKey()
Deprecated.
|
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.
|
int |
putAndMoveToFirst(byte key,
int value)
A customized put method that allows you to insert into the first index.
|
int |
putAndMoveToLast(byte key,
int value)
A customized put method that allows you to insert into the last index.
|
Byte2IntSortedMap |
subMap(byte fromKey,
byte toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Byte2IntSortedMap |
subMap(java.lang.Byte fromKey,
java.lang.Byte toKey)
Deprecated.
|
Byte2IntSortedMap |
tailMap(byte fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
Byte2IntSortedMap |
tailMap(java.lang.Byte fromKey)
Deprecated.
|
addTo, addToAll, byte2IntEntrySet, clear, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfPresent, containsKey, containsKey, containsValue, containsValue, forEach, forEach, get, getDefaultReturnValue, getInt, getOrDefault, getOrDefault, keySet, merge, mergeAllInt, mergeInt, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remByte, remByteOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValue, size, valuesentrySet, equals, hashCodekeySet, valuesaddTo, addToAll, byte2IntEntrySet, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getInt, getOrDefault, getOrDefault, merge, mergeAllInt, mergeInt, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remByte, remByteOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValuepublic int putAndMoveToFirst(byte key,
int value)
Byte2IntSortedMapputAndMoveToFirst in interface Byte2IntSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public int putAndMoveToLast(byte key,
int value)
Byte2IntSortedMapputAndMoveToLast in interface Byte2IntSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(byte key)
Byte2IntSortedMapmoveToFirst in interface Byte2IntSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(byte key)
Byte2IntSortedMapmoveToLast in interface Byte2IntSortedMapkey - that should be moved to the first lastpublic int getAndMoveToFirst(byte key)
Byte2IntSortedMapgetAndMoveToFirst in interface Byte2IntSortedMapkey - that is searched forpublic int getAndMoveToLast(byte key)
Byte2IntSortedMapgetAndMoveToLast in interface Byte2IntSortedMapkey - that is searched forpublic ByteComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Byte,java.lang.Integer>comparator in interface Byte2IntSortedMappublic Byte2IntSortedMap subMap(byte fromKey, byte toKey)
Byte2IntSortedMapsubMap in interface Byte2IntSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Byte2IntSortedMap headMap(byte toKey)
Byte2IntSortedMapheadMap in interface Byte2IntSortedMaptoKey - where the headMap should endpublic Byte2IntSortedMap tailMap(byte fromKey)
Byte2IntSortedMaptailMap in interface Byte2IntSortedMapfromKey - where the TailMap should startpublic byte firstByteKey()
Byte2IntSortedMapfirstByteKey in interface Byte2IntSortedMappublic byte pollFirstByteKey()
Byte2IntSortedMappollFirstByteKey in interface Byte2IntSortedMappublic byte lastByteKey()
Byte2IntSortedMaplastByteKey in interface Byte2IntSortedMappublic byte pollLastByteKey()
Byte2IntSortedMappollLastByteKey in interface Byte2IntSortedMappublic int firstIntValue()
Byte2IntSortedMapfirstIntValue in interface Byte2IntSortedMappublic int lastIntValue()
Byte2IntSortedMaplastIntValue in interface Byte2IntSortedMap@Deprecated public java.lang.Byte firstKey()
firstKey in interface java.util.SortedMap<java.lang.Byte,java.lang.Integer>firstKey in interface Byte2IntSortedMap@Deprecated public java.lang.Byte lastKey()
lastKey in interface java.util.SortedMap<java.lang.Byte,java.lang.Integer>lastKey in interface Byte2IntSortedMap@Deprecated public Byte2IntSortedMap subMap(java.lang.Byte fromKey, java.lang.Byte toKey)
subMap in interface java.util.SortedMap<java.lang.Byte,java.lang.Integer>subMap in interface Byte2IntSortedMap@Deprecated public Byte2IntSortedMap headMap(java.lang.Byte toKey)
headMap in interface java.util.SortedMap<java.lang.Byte,java.lang.Integer>headMap in interface Byte2IntSortedMap@Deprecated public Byte2IntSortedMap tailMap(java.lang.Byte fromKey)
tailMap in interface java.util.SortedMap<java.lang.Byte,java.lang.Integer>tailMap in interface Byte2IntSortedMap