public static class Long2LongMaps.UnmodifyableSortedMap extends Long2LongMaps.UnmodifyableMap implements Long2LongSortedMap
AbstractLong2LongMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Long2LongSortedMap.FastSortedSetLong2LongMap.Entry, Long2LongMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
LongComparator |
comparator() |
long |
firstLongKey()
A method to get the first Key of a Map.
|
long |
firstLongValue()
A method to get the first Value of a Map.
|
long |
getAndMoveToFirst(long key)
A Specific get method that allows to move teh given key/value int the first index.
|
long |
getAndMoveToLast(long key)
A Specific get method that allows to move teh given key/value int the last index.
|
Long2LongSortedMap |
headMap(long toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
long |
lastLongKey()
A method to get the last Key of a Map.
|
long |
lastLongValue()
A method to get the last Value 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.
|
long |
putAndMoveToFirst(long key,
long value)
A customized put method that allows you to insert into the first index.
|
long |
putAndMoveToLast(long key,
long value)
A customized put method that allows you to insert into the last index.
|
Long2LongSortedMap |
subMap(long fromKey,
long toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Long2LongSortedMap |
tailMap(long fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, getLong, getOrDefault, keySet, long2LongEntrySet, put, putIfAbsent, remLong, remLongOrDefault, 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, long2LongEntrySet, merge, mergeAllLong, mergeLong, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remLong, remLongOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceLongs, replaceLongs, setDefaultReturnValueapplyAsLongpublic long putAndMoveToFirst(long key,
long value)
Long2LongSortedMapputAndMoveToFirst in interface Long2LongSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public long putAndMoveToLast(long key,
long value)
Long2LongSortedMapputAndMoveToLast in interface Long2LongSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(long key)
Long2LongSortedMapmoveToFirst in interface Long2LongSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(long key)
Long2LongSortedMapmoveToLast in interface Long2LongSortedMapkey - that should be moved to the first lastpublic long getAndMoveToFirst(long key)
Long2LongSortedMapgetAndMoveToFirst in interface Long2LongSortedMapkey - that is searched forpublic long getAndMoveToLast(long key)
Long2LongSortedMapgetAndMoveToLast in interface Long2LongSortedMapkey - that is searched forpublic LongComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Long,java.lang.Long>comparator in interface Long2LongSortedMappublic Long2LongSortedMap subMap(long fromKey, long toKey)
Long2LongSortedMapsubMap in interface Long2LongSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Long2LongSortedMap headMap(long toKey)
Long2LongSortedMapheadMap in interface Long2LongSortedMaptoKey - where the headMap should endpublic Long2LongSortedMap tailMap(long fromKey)
Long2LongSortedMaptailMap in interface Long2LongSortedMapfromKey - where the TailMap should startpublic long firstLongKey()
Long2LongSortedMapfirstLongKey in interface Long2LongSortedMappublic long pollFirstLongKey()
Long2LongSortedMappollFirstLongKey in interface Long2LongSortedMappublic long lastLongKey()
Long2LongSortedMaplastLongKey in interface Long2LongSortedMappublic long pollLastLongKey()
Long2LongSortedMappollLastLongKey in interface Long2LongSortedMappublic long firstLongValue()
Long2LongSortedMapfirstLongValue in interface Long2LongSortedMappublic long lastLongValue()
Long2LongSortedMaplastLongValue in interface Long2LongSortedMap