public static class Int2LongMaps.UnmodifyableSortedMap extends Int2LongMaps.UnmodifyableMap implements Int2LongSortedMap
AbstractInt2LongMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Int2LongSortedMap.FastSortedSetInt2LongMap.Entry, Int2LongMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
IntComparator |
comparator() |
int |
firstIntKey()
A method to get the first Key of a Map.
|
long |
firstLongValue()
A method to get the first Value of a Map.
|
long |
getAndMoveToFirst(int key)
A Specific get method that allows to move teh given key/value int the first index.
|
long |
getAndMoveToLast(int key)
A Specific get method that allows to move teh given key/value int the last index.
|
Int2LongSortedMap |
headMap(int toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
int |
lastIntKey()
A method to get the last Key of a Map.
|
long |
lastLongValue()
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.
|
long |
putAndMoveToFirst(int key,
long value)
A customized put method that allows you to insert into the first index.
|
long |
putAndMoveToLast(int key,
long value)
A customized put method that allows you to insert into the last index.
|
Int2LongSortedMap |
subMap(int fromKey,
int toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Int2LongSortedMap |
tailMap(int fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, getLong, getOrDefault, int2LongEntrySet, keySet, put, putIfAbsent, remInt, remIntOrDefault, remove, valuesaddToAll, computeLong, computeLongIfAbsent, computeLongIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, mergeAllLong, mergeLong, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceLongs, replaceLongs, setDefaultReturnValueclear, containsKey, containsValue, isEmpty, put, remove, size, toStringfirstKey, headMap, keySet, lastKey, subMap, tailMap, valuesaddTo, addToAll, compute, computeIfAbsent, computeIfPresent, computeLong, computeLongIfAbsent, computeLongIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getLong, getOrDefault, getOrDefault, int2LongEntrySet, merge, mergeAllLong, mergeLong, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remInt, remIntOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceLongs, replaceLongs, setDefaultReturnValueapplyAsLongpublic long putAndMoveToFirst(int key,
long value)
Int2LongSortedMapputAndMoveToFirst in interface Int2LongSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public long putAndMoveToLast(int key,
long value)
Int2LongSortedMapputAndMoveToLast in interface Int2LongSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(int key)
Int2LongSortedMapmoveToFirst in interface Int2LongSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(int key)
Int2LongSortedMapmoveToLast in interface Int2LongSortedMapkey - that should be moved to the first lastpublic long getAndMoveToFirst(int key)
Int2LongSortedMapgetAndMoveToFirst in interface Int2LongSortedMapkey - that is searched forpublic long getAndMoveToLast(int key)
Int2LongSortedMapgetAndMoveToLast in interface Int2LongSortedMapkey - that is searched forpublic IntComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Integer,java.lang.Long>comparator in interface Int2LongSortedMappublic Int2LongSortedMap subMap(int fromKey, int toKey)
Int2LongSortedMapsubMap in interface Int2LongSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Int2LongSortedMap headMap(int toKey)
Int2LongSortedMapheadMap in interface Int2LongSortedMaptoKey - where the headMap should endpublic Int2LongSortedMap tailMap(int fromKey)
Int2LongSortedMaptailMap in interface Int2LongSortedMapfromKey - where the TailMap should startpublic int firstIntKey()
Int2LongSortedMapfirstIntKey in interface Int2LongSortedMappublic int pollFirstIntKey()
Int2LongSortedMappollFirstIntKey in interface Int2LongSortedMappublic int lastIntKey()
Int2LongSortedMaplastIntKey in interface Int2LongSortedMappublic int pollLastIntKey()
Int2LongSortedMappollLastIntKey in interface Int2LongSortedMappublic long firstLongValue()
Int2LongSortedMapfirstLongValue in interface Int2LongSortedMappublic long lastLongValue()
Int2LongSortedMaplastLongValue in interface Int2LongSortedMap