public static class Long2IntMaps.UnmodifyableSortedMap extends Long2IntMaps.UnmodifyableMap implements Long2IntSortedMap
AbstractLong2IntMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Long2IntSortedMap.FastSortedSetLong2IntMap.Entry, Long2IntMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
LongComparator |
comparator() |
int |
firstIntValue()
A method to get the first Value of a Map.
|
long |
firstLongKey()
A method to get the first Key of a Map.
|
int |
getAndMoveToFirst(long key)
A Specific get method that allows to move teh given key/value int the first index.
|
int |
getAndMoveToLast(long key)
A Specific get method that allows to move teh given key/value int the last index.
|
Long2IntSortedMap |
headMap(long toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
int |
lastIntValue()
A method to get the last Value of a Map.
|
long |
lastLongKey()
A method to get the last Key of a Map.
|
boolean |
moveToFirst(long key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(long key)
A specific move method to move a given key/value to the last index.
|
long |
pollFirstLongKey()
A method to get and remove the first Key of a Map.
|
long |
pollLastLongKey()
A method to get and remove the last Key of a Map.
|
int |
putAndMoveToFirst(long key,
int value)
A customized put method that allows you to insert into the first index.
|
int |
putAndMoveToLast(long key,
int value)
A customized put method that allows you to insert into the last index.
|
Long2IntSortedMap |
subMap(long fromKey,
long toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Long2IntSortedMap |
tailMap(long fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, getInt, getOrDefault, keySet, long2IntEntrySet, put, putIfAbsent, remLong, remLongOrDefault, 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, long2IntEntrySet, merge, mergeAllInt, mergeInt, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remLong, remLongOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValueapplyAsIntpublic int putAndMoveToFirst(long key,
int value)
Long2IntSortedMapputAndMoveToFirst in interface Long2IntSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public int putAndMoveToLast(long key,
int value)
Long2IntSortedMapputAndMoveToLast in interface Long2IntSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(long key)
Long2IntSortedMapmoveToFirst in interface Long2IntSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(long key)
Long2IntSortedMapmoveToLast in interface Long2IntSortedMapkey - that should be moved to the first lastpublic int getAndMoveToFirst(long key)
Long2IntSortedMapgetAndMoveToFirst in interface Long2IntSortedMapkey - that is searched forpublic int getAndMoveToLast(long key)
Long2IntSortedMapgetAndMoveToLast in interface Long2IntSortedMapkey - that is searched forpublic LongComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Long,java.lang.Integer>comparator in interface Long2IntSortedMappublic Long2IntSortedMap subMap(long fromKey, long toKey)
Long2IntSortedMapsubMap in interface Long2IntSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Long2IntSortedMap headMap(long toKey)
Long2IntSortedMapheadMap in interface Long2IntSortedMaptoKey - where the headMap should endpublic Long2IntSortedMap tailMap(long fromKey)
Long2IntSortedMaptailMap in interface Long2IntSortedMapfromKey - where the TailMap should startpublic long firstLongKey()
Long2IntSortedMapfirstLongKey in interface Long2IntSortedMappublic long pollFirstLongKey()
Long2IntSortedMappollFirstLongKey in interface Long2IntSortedMappublic long lastLongKey()
Long2IntSortedMaplastLongKey in interface Long2IntSortedMappublic long pollLastLongKey()
Long2IntSortedMappollLastLongKey in interface Long2IntSortedMappublic int firstIntValue()
Long2IntSortedMapfirstIntValue in interface Long2IntSortedMappublic int lastIntValue()
Long2IntSortedMaplastIntValue in interface Long2IntSortedMap