V - the keyType of elements maintained by this Collectionpublic static class Short2ObjectMaps.UnmodifyableSortedMap<V> extends Short2ObjectMaps.UnmodifyableMap<V> implements Short2ObjectSortedMap<V>
AbstractShort2ObjectMap.BasicEntry<V>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Short2ObjectSortedMap.FastSortedSet<V>Short2ObjectMap.BuilderCache<V>, Short2ObjectMap.Entry<V>, Short2ObjectMap.FastEntrySet<V>, Short2ObjectMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
ShortComparator |
comparator() |
Short2ObjectSortedMap<V> |
copy()
A Function that does a shallow clone of the Map itself.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
V |
firstValue()
A method to get the first Value of a Map.
|
Short2ObjectSortedMap<V> |
headMap(short toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
ShortSortedSet |
keySet() |
short |
lastShortKey()
A method to get the last Key of a Map.
|
V |
lastValue()
A method to get the last Value of a Map.
|
short |
pollFirstShortKey()
A method to get and remove the first Key of a Map.
|
short |
pollLastShortKey()
A method to get and remove the last Key of a Map.
|
Short2ObjectSortedMap<V> |
subMap(short fromKey,
short toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Short2ObjectSortedMap<V> |
tailMap(short fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
clear, compute, computeIfAbsent, computeIfPresent, get, getOrDefault, merge, mergeAll, put, putIfAbsent, remove, remove, removeOrDefault, replaceObjects, replaceObjects, short2ObjectEntrySet, supplyIfAbsent, valuescontainsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, put, putAll, putAll, putAll, putAll, putAllIfAbsent, remove, replace, replace, setDefaultReturnValuefirstKey, headMap, lastKey, subMap, synchronize, synchronize, tailMap, unmodifiable, valuesapply, builder, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, 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, short2ObjectEntrySet, supplyIfAbsentpublic ShortComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Short,V>comparator in interface Short2ObjectSortedMap<V>public Short2ObjectSortedMap<V> subMap(short fromKey, short toKey)
Short2ObjectSortedMapsubMap in interface Short2ObjectSortedMap<V>fromKey - where the submap should starttoKey - where the subMap should endpublic Short2ObjectSortedMap<V> headMap(short toKey)
Short2ObjectSortedMapheadMap in interface Short2ObjectSortedMap<V>toKey - where the headMap should endpublic Short2ObjectSortedMap<V> tailMap(short fromKey)
Short2ObjectSortedMaptailMap in interface Short2ObjectSortedMap<V>fromKey - where the TailMap should startpublic ShortSortedSet keySet()
keySet in interface java.util.Map<java.lang.Short,V>keySet in interface java.util.SortedMap<java.lang.Short,V>keySet in interface Short2ObjectMap<V>keySet in interface Short2ObjectSortedMap<V>keySet in class Short2ObjectMaps.UnmodifyableMap<V>public short firstShortKey()
Short2ObjectSortedMapfirstShortKey in interface Short2ObjectSortedMap<V>public short pollFirstShortKey()
Short2ObjectSortedMappollFirstShortKey in interface Short2ObjectSortedMap<V>public short lastShortKey()
Short2ObjectSortedMaplastShortKey in interface Short2ObjectSortedMap<V>public short pollLastShortKey()
Short2ObjectSortedMappollLastShortKey in interface Short2ObjectSortedMap<V>public V firstValue()
Short2ObjectSortedMapfirstValue in interface Short2ObjectSortedMap<V>public V lastValue()
Short2ObjectSortedMaplastValue in interface Short2ObjectSortedMap<V>public Short2ObjectSortedMap<V> copy()
Short2ObjectMapcopy in interface Short2ObjectMap<V>copy in interface Short2ObjectSortedMap<V>copy in class Short2ObjectMaps.UnmodifyableMap<V>