V - the type of elements maintained by this Collectionpublic static class Byte2ObjectMaps.SynchronizedSortedMap<V> extends Byte2ObjectMaps.SynchronizedMap<V> implements Byte2ObjectSortedMap<V>
AbstractByte2ObjectMap.BasicEntry<V>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Byte2ObjectSortedMap.FastSortedSet<V>Byte2ObjectMap.Entry<V>, Byte2ObjectMap.FastEntrySet<V>| Modifier and Type | Method and Description |
|---|---|
ByteComparator |
comparator() |
byte |
firstByteKey()
A method to get the first Key of a Map.
|
java.lang.Byte |
firstKey()
Deprecated.
|
V |
firstValue()
A method to get the first Value of a Map.
|
V |
getAndMoveToFirst(byte key)
A Specific get method that allows to move teh given key/value int the first index.
|
V |
getAndMoveToLast(byte key)
A Specific get method that allows to move teh given key/value int the last index.
|
Byte2ObjectSortedMap<V> |
headMap(byte toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
Byte2ObjectSortedMap<V> |
headMap(java.lang.Byte toKey)
Deprecated.
|
byte |
lastByteKey()
A method to get the last Key of a Map.
|
java.lang.Byte |
lastKey()
Deprecated.
|
V |
lastValue()
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.
|
V |
putAndMoveToFirst(byte key,
V value)
A customized put method that allows you to insert into the first index.
|
V |
putAndMoveToLast(byte key,
V value)
A customized put method that allows you to insert into the last index.
|
Byte2ObjectSortedMap<V> |
subMap(byte fromKey,
byte toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Byte2ObjectSortedMap<V> |
subMap(java.lang.Byte fromKey,
java.lang.Byte toKey)
Deprecated.
|
Byte2ObjectSortedMap<V> |
tailMap(byte fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
Byte2ObjectSortedMap<V> |
tailMap(java.lang.Byte fromKey)
Deprecated.
|
byte2ObjectEntrySet, clear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, containsValue, forEach, forEach, get, getDefaultReturnValue, getObject, getOrDefault, getOrDefault, keySet, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remByte, remByteOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, size, valuesentrySet, equals, hashCodekeySet, valuesbyte2ObjectEntrySet, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, getDefaultReturnValue, getObject, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remByte, remByteOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValuepublic V putAndMoveToFirst(byte key, V value)
Byte2ObjectSortedMapputAndMoveToFirst in interface Byte2ObjectSortedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public V putAndMoveToLast(byte key, V value)
Byte2ObjectSortedMapputAndMoveToLast in interface Byte2ObjectSortedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(byte key)
Byte2ObjectSortedMapmoveToFirst in interface Byte2ObjectSortedMap<V>key - that should be moved to the first indexpublic boolean moveToLast(byte key)
Byte2ObjectSortedMapmoveToLast in interface Byte2ObjectSortedMap<V>key - that should be moved to the first lastpublic V getAndMoveToFirst(byte key)
Byte2ObjectSortedMapgetAndMoveToFirst in interface Byte2ObjectSortedMap<V>key - that is searched forpublic V getAndMoveToLast(byte key)
Byte2ObjectSortedMapgetAndMoveToLast in interface Byte2ObjectSortedMap<V>key - that is searched forpublic ByteComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Byte,V>comparator in interface Byte2ObjectSortedMap<V>public Byte2ObjectSortedMap<V> subMap(byte fromKey, byte toKey)
Byte2ObjectSortedMapsubMap in interface Byte2ObjectSortedMap<V>fromKey - where the submap should starttoKey - where the subMap should endpublic Byte2ObjectSortedMap<V> headMap(byte toKey)
Byte2ObjectSortedMapheadMap in interface Byte2ObjectSortedMap<V>toKey - where the headMap should endpublic Byte2ObjectSortedMap<V> tailMap(byte fromKey)
Byte2ObjectSortedMaptailMap in interface Byte2ObjectSortedMap<V>fromKey - where the TailMap should startpublic byte firstByteKey()
Byte2ObjectSortedMapfirstByteKey in interface Byte2ObjectSortedMap<V>public byte pollFirstByteKey()
Byte2ObjectSortedMappollFirstByteKey in interface Byte2ObjectSortedMap<V>public byte lastByteKey()
Byte2ObjectSortedMaplastByteKey in interface Byte2ObjectSortedMap<V>public byte pollLastByteKey()
Byte2ObjectSortedMappollLastByteKey in interface Byte2ObjectSortedMap<V>public V firstValue()
Byte2ObjectSortedMapfirstValue in interface Byte2ObjectSortedMap<V>public V lastValue()
Byte2ObjectSortedMaplastValue in interface Byte2ObjectSortedMap<V>@Deprecated public java.lang.Byte firstKey()
firstKey in interface java.util.SortedMap<java.lang.Byte,V>firstKey in interface Byte2ObjectSortedMap<V>@Deprecated public java.lang.Byte lastKey()
lastKey in interface java.util.SortedMap<java.lang.Byte,V>lastKey in interface Byte2ObjectSortedMap<V>@Deprecated public Byte2ObjectSortedMap<V> subMap(java.lang.Byte fromKey, java.lang.Byte toKey)
subMap in interface java.util.SortedMap<java.lang.Byte,V>subMap in interface Byte2ObjectSortedMap<V>@Deprecated public Byte2ObjectSortedMap<V> headMap(java.lang.Byte toKey)
headMap in interface java.util.SortedMap<java.lang.Byte,V>headMap in interface Byte2ObjectSortedMap<V>@Deprecated public Byte2ObjectSortedMap<V> tailMap(java.lang.Byte fromKey)
tailMap in interface java.util.SortedMap<java.lang.Byte,V>tailMap in interface Byte2ObjectSortedMap<V>