T - the type of elements maintained by this Collectionpublic static class Object2ByteMaps.SynchronizedSortedMap<T> extends Object2ByteMaps.SynchronizedMap<T> implements Object2ByteSortedMap<T>
AbstractObject2ByteMap.BasicEntry<T>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Object2ByteSortedMap.FastSortedSet<T>Object2ByteMap.Entry<T>, Object2ByteMap.FastEntrySet<T>| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<T> |
comparator() |
byte |
firstByteValue()
A method to get the first Value of a Map.
|
T |
firstKey() |
byte |
getAndMoveToFirst(T key)
A Specific get method that allows to move teh given key/value int the first index.
|
byte |
getAndMoveToLast(T key)
A Specific get method that allows to move teh given key/value int the last index.
|
Object2ByteSortedMap<T> |
headMap(T toKey) |
byte |
lastByteValue()
A method to get the last Value of a Map.
|
T |
lastKey() |
boolean |
moveToFirst(T key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(T key)
A specific move method to move a given key/value to the last index.
|
T |
pollFirstKey()
A method to get and remove the first Key of a Map.
|
T |
pollLastKey()
A method to get and remove the last Key of a Map.
|
byte |
putAndMoveToFirst(T key,
byte value)
A customized put method that allows you to insert into the first index.
|
byte |
putAndMoveToLast(T key,
byte value)
A customized put method that allows you to insert into the last index.
|
Object2ByteSortedMap<T> |
subMap(T fromKey,
T toKey) |
Object2ByteSortedMap<T> |
tailMap(T fromKey) |
addTo, addToAll, computeByte, computeByteIfAbsent, computeByteIfPresent, containsValue, forEach, getByte, getDefaultReturnValue, getOrDefault, keySet, mergeAllByte, mergeByte, object2ByteEntrySet, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, rem, remOrDefault, remove, replace, replace, replaceBytes, replaceBytes, setDefaultReturnValue, size, valuescontainsKey, entrySet, equals, get, getOrDefault, hashCodeclear, containsValue, isEmpty, put, remove, toStringkeySet, valuesaddTo, addToAll, compute, computeByte, computeByteIfAbsent, computeByteIfPresent, computeIfAbsent, computeIfPresent, containsValue, containsValue, entrySet, forEach, forEach, get, getByte, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllByte, mergeByte, object2ByteEntrySet, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, rem, remOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceBytes, replaceBytes, setDefaultReturnValuepublic byte putAndMoveToFirst(T key, byte value)
Object2ByteSortedMapputAndMoveToFirst in interface Object2ByteSortedMap<T>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public byte putAndMoveToLast(T key, byte value)
Object2ByteSortedMapputAndMoveToLast in interface Object2ByteSortedMap<T>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(T key)
Object2ByteSortedMapmoveToFirst in interface Object2ByteSortedMap<T>key - that should be moved to the first indexpublic boolean moveToLast(T key)
Object2ByteSortedMapmoveToLast in interface Object2ByteSortedMap<T>key - that should be moved to the first lastpublic byte getAndMoveToFirst(T key)
Object2ByteSortedMapgetAndMoveToFirst in interface Object2ByteSortedMap<T>key - that is searched forpublic byte getAndMoveToLast(T key)
Object2ByteSortedMapgetAndMoveToLast in interface Object2ByteSortedMap<T>key - that is searched forpublic java.util.Comparator<T> comparator()
comparator in interface java.util.SortedMap<T,java.lang.Byte>comparator in interface Object2ByteSortedMap<T>public Object2ByteSortedMap<T> subMap(T fromKey, T toKey)
subMap in interface java.util.SortedMap<T,java.lang.Byte>subMap in interface Object2ByteSortedMap<T>public Object2ByteSortedMap<T> headMap(T toKey)
headMap in interface java.util.SortedMap<T,java.lang.Byte>headMap in interface Object2ByteSortedMap<T>public Object2ByteSortedMap<T> tailMap(T fromKey)
tailMap in interface java.util.SortedMap<T,java.lang.Byte>tailMap in interface Object2ByteSortedMap<T>public T firstKey()
firstKey in interface java.util.SortedMap<T,java.lang.Byte>public T pollFirstKey()
Object2ByteSortedMappollFirstKey in interface Object2ByteSortedMap<T>public T pollLastKey()
Object2ByteSortedMappollLastKey in interface Object2ByteSortedMap<T>public byte firstByteValue()
Object2ByteSortedMapfirstByteValue in interface Object2ByteSortedMap<T>public byte lastByteValue()
Object2ByteSortedMaplastByteValue in interface Object2ByteSortedMap<T>