V - the type of elements maintained by this Collectionpublic static class Int2ObjectMaps.UnmodifyableSortedMap<V> extends Int2ObjectMaps.UnmodifyableMap<V> implements Int2ObjectSortedMap<V>
AbstractInt2ObjectMap.BasicEntry<V>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Int2ObjectSortedMap.FastSortedSet<V>Int2ObjectMap.Entry<V>, Int2ObjectMap.FastEntrySet<V>| Modifier and Type | Method and Description |
|---|---|
IntComparator |
comparator() |
int |
firstIntKey()
A method to get the first Key of a Map.
|
V |
firstValue()
A method to get the first Value of a Map.
|
V |
getAndMoveToFirst(int key)
A Specific get method that allows to move teh given key/value int the first index.
|
V |
getAndMoveToLast(int key)
A Specific get method that allows to move teh given key/value int the last index.
|
Int2ObjectSortedMap<V> |
headMap(int toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
int |
lastIntKey()
A method to get the last Key of a Map.
|
V |
lastValue()
A method to get the last Value 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.
|
V |
putAndMoveToFirst(int key,
V value)
A customized put method that allows you to insert into the first index.
|
V |
putAndMoveToLast(int key,
V value)
A customized put method that allows you to insert into the last index.
|
Int2ObjectSortedMap<V> |
subMap(int fromKey,
int toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Int2ObjectSortedMap<V> |
tailMap(int fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
getObject, getOrDefault, int2ObjectEntrySet, keySet, put, putIfAbsent, remInt, remIntOrDefault, remove, valuescompute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, merge, mergeAll, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceObjects, replaceObjects, setDefaultReturnValueclear, containsKey, isEmpty, put, remove, size, toStringfirstKey, headMap, keySet, lastKey, subMap, tailMap, valuescompute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, getDefaultReturnValue, getObject, getOrDefault, getOrDefault, int2ObjectEntrySet, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remInt, remIntOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValueclear, containsValue, equals, hashCode, isEmpty, putAll, sizeapplypublic V putAndMoveToFirst(int key, V value)
Int2ObjectSortedMapputAndMoveToFirst in interface Int2ObjectSortedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public V putAndMoveToLast(int key, V value)
Int2ObjectSortedMapputAndMoveToLast in interface Int2ObjectSortedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(int key)
Int2ObjectSortedMapmoveToFirst in interface Int2ObjectSortedMap<V>key - that should be moved to the first indexpublic boolean moveToLast(int key)
Int2ObjectSortedMapmoveToLast in interface Int2ObjectSortedMap<V>key - that should be moved to the first lastpublic V getAndMoveToFirst(int key)
Int2ObjectSortedMapgetAndMoveToFirst in interface Int2ObjectSortedMap<V>key - that is searched forpublic V getAndMoveToLast(int key)
Int2ObjectSortedMapgetAndMoveToLast in interface Int2ObjectSortedMap<V>key - that is searched forpublic IntComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Integer,V>comparator in interface Int2ObjectSortedMap<V>public Int2ObjectSortedMap<V> subMap(int fromKey, int toKey)
Int2ObjectSortedMapsubMap in interface Int2ObjectSortedMap<V>fromKey - where the submap should starttoKey - where the subMap should endpublic Int2ObjectSortedMap<V> headMap(int toKey)
Int2ObjectSortedMapheadMap in interface Int2ObjectSortedMap<V>toKey - where the headMap should endpublic Int2ObjectSortedMap<V> tailMap(int fromKey)
Int2ObjectSortedMaptailMap in interface Int2ObjectSortedMap<V>fromKey - where the TailMap should startpublic int firstIntKey()
Int2ObjectSortedMapfirstIntKey in interface Int2ObjectSortedMap<V>public int pollFirstIntKey()
Int2ObjectSortedMappollFirstIntKey in interface Int2ObjectSortedMap<V>public int lastIntKey()
Int2ObjectSortedMaplastIntKey in interface Int2ObjectSortedMap<V>public int pollLastIntKey()
Int2ObjectSortedMappollLastIntKey in interface Int2ObjectSortedMap<V>public V firstValue()
Int2ObjectSortedMapfirstValue in interface Int2ObjectSortedMap<V>public V lastValue()
Int2ObjectSortedMaplastValue in interface Int2ObjectSortedMap<V>