T - the keyType of elements maintained by this Collectionpublic static class Object2LongMaps.UnmodifyableSortedMap<T> extends Object2LongMaps.UnmodifyableMap<T> implements Object2LongSortedMap<T>
AbstractObject2LongMap.BasicEntry<T>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Object2LongSortedMap.FastSortedSet<T>Object2LongMap.BuilderCache<T>, Object2LongMap.Entry<T>, Object2LongMap.FastEntrySet<T>, Object2LongMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<T> |
comparator() |
Object2LongSortedMap<T> |
copy()
A Function that does a shallow clone of the Map itself.
|
T |
firstKey() |
long |
firstLongValue()
A method to get the first Value of a Map.
|
Object2LongSortedMap<T> |
headMap(T toKey) |
ObjectSortedSet<T> |
keySet() |
T |
lastKey() |
long |
lastLongValue()
A method to get the last Value of a Map.
|
T |
pollFirstKey()
A method to get and remove the first Key of a Map.
|
T |
pollLastKey()
A method to get and remove the last Key of a Map.
|
Object2LongSortedMap<T> |
subMap(T fromKey,
T toKey) |
Object2LongSortedMap<T> |
tailMap(T fromKey) |
addTo, clear, computeLong, computeLongIfAbsent, computeLongIfPresent, getLong, getOrDefault, mergeAllLong, mergeLong, object2LongEntrySet, put, putIfAbsent, rem, remOrDefault, remove, replaceLongs, replaceLongs, subFrom, supplyLongIfAbsent, valuesaddToAll, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, put, putAll, putAll, putAll, putAll, putAllIfAbsent, remove, replace, replace, setDefaultReturnValuesynchronize, synchronize, unmodifiable, valuesaddTo, addToAll, applyAsLong, builder, compute, computeIfAbsent, computeIfPresent, computeLong, computeLongIfAbsent, computeLongIfPresent, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getLong, getOrDefault, getOrDefault, merge, mergeAllLong, mergeLong, object2LongEntrySet, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, rem, remOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceLongs, replaceLongs, setDefaultReturnValue, subFrom, supplyLongIfAbsentpublic java.util.Comparator<T> comparator()
comparator in interface java.util.SortedMap<T,java.lang.Long>comparator in interface Object2LongSortedMap<T>public Object2LongSortedMap<T> subMap(T fromKey, T toKey)
subMap in interface java.util.SortedMap<T,java.lang.Long>subMap in interface Object2LongSortedMap<T>public Object2LongSortedMap<T> headMap(T toKey)
headMap in interface java.util.SortedMap<T,java.lang.Long>headMap in interface Object2LongSortedMap<T>public Object2LongSortedMap<T> tailMap(T fromKey)
tailMap in interface java.util.SortedMap<T,java.lang.Long>tailMap in interface Object2LongSortedMap<T>public ObjectSortedSet<T> keySet()
keySet in interface java.util.Map<T,java.lang.Long>keySet in interface java.util.SortedMap<T,java.lang.Long>keySet in interface Object2LongMap<T>keySet in interface Object2LongSortedMap<T>keySet in class Object2LongMaps.UnmodifyableMap<T>public T firstKey()
firstKey in interface java.util.SortedMap<T,java.lang.Long>public T pollFirstKey()
Object2LongSortedMappollFirstKey in interface Object2LongSortedMap<T>public T pollLastKey()
Object2LongSortedMappollLastKey in interface Object2LongSortedMap<T>public long firstLongValue()
Object2LongSortedMapfirstLongValue in interface Object2LongSortedMap<T>public long lastLongValue()
Object2LongSortedMaplastLongValue in interface Object2LongSortedMap<T>public Object2LongSortedMap<T> copy()
Object2LongMapcopy in interface Object2LongMap<T>copy in interface Object2LongSortedMap<T>copy in class Object2LongMaps.UnmodifyableMap<T>