T - the type of elements maintained by this CollectionV - the type of elements maintained by this Collectionpublic static class Object2ObjectMaps.UnmodifyableSortedMap<T,V> extends Object2ObjectMaps.UnmodifyableMap<T,V> implements Object2ObjectSortedMap<T,V>
AbstractObject2ObjectMap.BasicEntry<T,V>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Object2ObjectSortedMap.FastSortedSet<T,V>Object2ObjectMap.BuilderCache<T,V>, Object2ObjectMap.Entry<T,V>, Object2ObjectMap.FastEntrySet<T,V>, Object2ObjectMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<T> |
comparator() |
Object2ObjectSortedMap<T,V> |
copy()
A Function that does a shallow clone of the Map itself.
|
T |
firstKey() |
V |
firstValue()
A method to get the first Value of a Map.
|
Object2ObjectSortedMap<T,V> |
headMap(T toKey) |
ObjectSortedSet<T> |
keySet() |
T |
lastKey() |
V |
lastValue()
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.
|
Object2ObjectSortedMap<T,V> |
subMap(T fromKey,
T toKey) |
Object2ObjectSortedMap<T,V> |
tailMap(T fromKey) |
clear, compute, computeIfAbsent, computeIfPresent, getObject, merge, mergeAll, object2ObjectEntrySet, put, putIfAbsent, rem, remOrDefault, replaceObjects, replaceObjects, supplyIfAbsent, valuescontainsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, putAll, putAll, putAll, putAllIfAbsent, remove, replace, replace, setDefaultReturnValuesynchronize, synchronize, unmodifiable, valuesbuilder, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, entrySet, forEach, forEach, getDefaultReturnValue, merge, merge, mergeAll, object2ObjectEntrySet, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, rem, remOrDefault, remove, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, supplyIfAbsentclear, containsKey, containsValue, equals, get, getOrDefault, hashCode, isEmpty, putAll, remove, sizeapply, getObjectpublic java.util.Comparator<T> comparator()
comparator in interface java.util.SortedMap<T,V>comparator in interface Object2ObjectSortedMap<T,V>public Object2ObjectSortedMap<T,V> subMap(T fromKey, T toKey)
public Object2ObjectSortedMap<T,V> headMap(T toKey)
public Object2ObjectSortedMap<T,V> tailMap(T fromKey)
public ObjectSortedSet<T> keySet()
public T pollFirstKey()
Object2ObjectSortedMappollFirstKey in interface Object2ObjectSortedMap<T,V>public T pollLastKey()
Object2ObjectSortedMappollLastKey in interface Object2ObjectSortedMap<T,V>public V firstValue()
Object2ObjectSortedMapfirstValue in interface Object2ObjectSortedMap<T,V>public V lastValue()
Object2ObjectSortedMaplastValue in interface Object2ObjectSortedMap<T,V>public Object2ObjectSortedMap<T,V> copy()
Object2ObjectMapcopy in interface Object2ObjectMap<T,V>copy in interface Object2ObjectSortedMap<T,V>copy in class Object2ObjectMaps.UnmodifyableMap<T,V>