public static class Int2IntMaps.UnmodifyableSortedMap extends Int2IntMaps.UnmodifyableMap implements Int2IntSortedMap
AbstractInt2IntMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Int2IntSortedMap.FastSortedSetInt2IntMap.Entry, Int2IntMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
IntComparator |
comparator() |
int |
firstIntKey()
A method to get the first Key of a Map.
|
int |
firstIntValue()
A method to get the first Value of a Map.
|
int |
getAndMoveToFirst(int key)
A Specific get method that allows to move teh given key/value int the first index.
|
int |
getAndMoveToLast(int key)
A Specific get method that allows to move teh given key/value int the last index.
|
Int2IntSortedMap |
headMap(int toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
int |
lastIntKey()
A method to get the last Key of a Map.
|
int |
lastIntValue()
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.
|
int |
putAndMoveToFirst(int key,
int value)
A customized put method that allows you to insert into the first index.
|
int |
putAndMoveToLast(int key,
int value)
A customized put method that allows you to insert into the last index.
|
Int2IntSortedMap |
subMap(int fromKey,
int toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Int2IntSortedMap |
tailMap(int fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, getInt, getOrDefault, int2IntEntrySet, keySet, put, putIfAbsent, remInt, remIntOrDefault, remove, valuesaddToAll, computeInt, computeIntIfAbsent, computeIntIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, mergeAllInt, mergeInt, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceInts, replaceInts, setDefaultReturnValueclear, containsKey, containsValue, isEmpty, put, remove, size, toStringfirstKey, headMap, keySet, lastKey, subMap, tailMap, valuesaddTo, addToAll, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getInt, getOrDefault, getOrDefault, int2IntEntrySet, merge, mergeAllInt, mergeInt, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remInt, remIntOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValueapplyAsIntpublic int putAndMoveToFirst(int key,
int value)
Int2IntSortedMapputAndMoveToFirst in interface Int2IntSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public int putAndMoveToLast(int key,
int value)
Int2IntSortedMapputAndMoveToLast in interface Int2IntSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(int key)
Int2IntSortedMapmoveToFirst in interface Int2IntSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(int key)
Int2IntSortedMapmoveToLast in interface Int2IntSortedMapkey - that should be moved to the first lastpublic int getAndMoveToFirst(int key)
Int2IntSortedMapgetAndMoveToFirst in interface Int2IntSortedMapkey - that is searched forpublic int getAndMoveToLast(int key)
Int2IntSortedMapgetAndMoveToLast in interface Int2IntSortedMapkey - that is searched forpublic IntComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Integer,java.lang.Integer>comparator in interface Int2IntSortedMappublic Int2IntSortedMap subMap(int fromKey, int toKey)
Int2IntSortedMapsubMap in interface Int2IntSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Int2IntSortedMap headMap(int toKey)
Int2IntSortedMapheadMap in interface Int2IntSortedMaptoKey - where the headMap should endpublic Int2IntSortedMap tailMap(int fromKey)
Int2IntSortedMaptailMap in interface Int2IntSortedMapfromKey - where the TailMap should startpublic int firstIntKey()
Int2IntSortedMapfirstIntKey in interface Int2IntSortedMappublic int pollFirstIntKey()
Int2IntSortedMappollFirstIntKey in interface Int2IntSortedMappublic int lastIntKey()
Int2IntSortedMaplastIntKey in interface Int2IntSortedMappublic int pollLastIntKey()
Int2IntSortedMappollLastIntKey in interface Int2IntSortedMappublic int firstIntValue()
Int2IntSortedMapfirstIntValue in interface Int2IntSortedMappublic int lastIntValue()
Int2IntSortedMaplastIntValue in interface Int2IntSortedMap