V - the keyType of elements maintained by this Collectionpublic static class Long2ObjectMaps.SynchronizedSortedMap<V> extends Long2ObjectMaps.SynchronizedMap<V> implements Long2ObjectSortedMap<V>
AbstractLong2ObjectMap.BasicEntry<V>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Long2ObjectSortedMap.FastSortedSet<V>Long2ObjectMap.BuilderCache<V>, Long2ObjectMap.Entry<V>, Long2ObjectMap.FastEntrySet<V>, Long2ObjectMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
LongComparator |
comparator() |
Long2ObjectSortedMap<V> |
copy()
A Function that does a shallow clone of the Map itself.
|
java.lang.Long |
firstKey()
Deprecated.
|
long |
firstLongKey()
A method to get the first Key of a Map.
|
V |
firstValue()
A method to get the first Value of a Map.
|
Long2ObjectSortedMap<V> |
headMap(long toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
Long2ObjectSortedMap<V> |
headMap(java.lang.Long toKey)
Deprecated.
|
LongSortedSet |
keySet() |
java.lang.Long |
lastKey()
Deprecated.
|
long |
lastLongKey()
A method to get the last Key of a Map.
|
V |
lastValue()
A method to get the last Value of a Map.
|
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.
|
Long2ObjectSortedMap<V> |
subMap(long fromKey,
long toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Long2ObjectSortedMap<V> |
subMap(java.lang.Long fromKey,
java.lang.Long toKey)
Deprecated.
|
Long2ObjectSortedMap<V> |
tailMap(long fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
Long2ObjectSortedMap<V> |
tailMap(java.lang.Long fromKey)
Deprecated.
|
clear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, containsValue, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, long2ObjectEntrySet, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, size, supplyIfAbsent, valuesentrySet, equals, hashCode, putAllsynchronize, synchronize, unmodifiable, valuesapply, builder, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, long2ObjectEntrySet, merge, merge, mergeAll, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, supplyIfAbsentpublic LongComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Long,V>comparator in interface Long2ObjectSortedMap<V>public Long2ObjectSortedMap<V> subMap(long fromKey, long toKey)
Long2ObjectSortedMapsubMap in interface Long2ObjectSortedMap<V>fromKey - where the submap should starttoKey - where the subMap should endpublic Long2ObjectSortedMap<V> headMap(long toKey)
Long2ObjectSortedMapheadMap in interface Long2ObjectSortedMap<V>toKey - where the headMap should endpublic Long2ObjectSortedMap<V> tailMap(long fromKey)
Long2ObjectSortedMaptailMap in interface Long2ObjectSortedMap<V>fromKey - where the TailMap should startpublic LongSortedSet keySet()
keySet in interface java.util.Map<java.lang.Long,V>keySet in interface java.util.SortedMap<java.lang.Long,V>keySet in interface Long2ObjectMap<V>keySet in interface Long2ObjectSortedMap<V>keySet in class Long2ObjectMaps.SynchronizedMap<V>public long firstLongKey()
Long2ObjectSortedMapfirstLongKey in interface Long2ObjectSortedMap<V>public long pollFirstLongKey()
Long2ObjectSortedMappollFirstLongKey in interface Long2ObjectSortedMap<V>public long lastLongKey()
Long2ObjectSortedMaplastLongKey in interface Long2ObjectSortedMap<V>public long pollLastLongKey()
Long2ObjectSortedMappollLastLongKey in interface Long2ObjectSortedMap<V>public V firstValue()
Long2ObjectSortedMapfirstValue in interface Long2ObjectSortedMap<V>public V lastValue()
Long2ObjectSortedMaplastValue in interface Long2ObjectSortedMap<V>public Long2ObjectSortedMap<V> copy()
Long2ObjectMapcopy in interface Long2ObjectMap<V>copy in interface Long2ObjectSortedMap<V>copy in class Long2ObjectMaps.SynchronizedMap<V>@Deprecated public java.lang.Long firstKey()
firstKey in interface java.util.SortedMap<java.lang.Long,V>firstKey in interface Long2ObjectSortedMap<V>@Deprecated public java.lang.Long lastKey()
lastKey in interface java.util.SortedMap<java.lang.Long,V>lastKey in interface Long2ObjectSortedMap<V>@Deprecated public Long2ObjectSortedMap<V> subMap(java.lang.Long fromKey, java.lang.Long toKey)
subMap in interface java.util.SortedMap<java.lang.Long,V>subMap in interface Long2ObjectSortedMap<V>@Deprecated public Long2ObjectSortedMap<V> headMap(java.lang.Long toKey)
headMap in interface java.util.SortedMap<java.lang.Long,V>headMap in interface Long2ObjectSortedMap<V>@Deprecated public Long2ObjectSortedMap<V> tailMap(java.lang.Long fromKey)
tailMap in interface java.util.SortedMap<java.lang.Long,V>tailMap in interface Long2ObjectSortedMap<V>