V - the keyType of elements maintained by this Collectionpublic static class Int2ObjectMaps.UnmodifyableSortedMap<V> extends Int2ObjectMaps.UnmodifyableMap<V> implements Int2ObjectSortedMap<V>
AbstractInt2ObjectMap.BasicEntry<V>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Int2ObjectSortedMap.FastSortedSet<V>Int2ObjectMap.BuilderCache<V>, Int2ObjectMap.Entry<V>, Int2ObjectMap.FastEntrySet<V>, Int2ObjectMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
IntComparator |
comparator() |
Int2ObjectSortedMap<V> |
copy()
A Function that does a shallow clone of the Map itself.
|
int |
firstIntKey()
A method to get the first Key of a Map.
|
V |
firstValue()
A method to get the first Value of a Map.
|
Int2ObjectSortedMap<V> |
headMap(int toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
IntSortedSet |
keySet() |
int |
lastIntKey()
A method to get the last Key of a Map.
|
V |
lastValue()
A method to get the last Value of a Map.
|
int |
pollFirstIntKey()
A method to get and remove the first Key of a Map.
|
int |
pollLastIntKey()
A method to get and remove the last Key of a Map.
|
Int2ObjectSortedMap<V> |
subMap(int fromKey,
int toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Int2ObjectSortedMap<V> |
tailMap(int fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
clear, compute, computeIfAbsent, computeIfPresent, get, getOrDefault, int2ObjectEntrySet, merge, mergeAll, put, putIfAbsent, remove, remove, removeOrDefault, replaceObjects, replaceObjects, 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, int2ObjectEntrySet, 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 IntComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Integer,V>comparator in interface Int2ObjectSortedMap<V>public Int2ObjectSortedMap<V> subMap(int fromKey, int toKey)
Int2ObjectSortedMapsubMap in interface Int2ObjectSortedMap<V>fromKey - where the submap should starttoKey - where the subMap should endpublic Int2ObjectSortedMap<V> headMap(int toKey)
Int2ObjectSortedMapheadMap in interface Int2ObjectSortedMap<V>toKey - where the headMap should endpublic Int2ObjectSortedMap<V> tailMap(int fromKey)
Int2ObjectSortedMaptailMap in interface Int2ObjectSortedMap<V>fromKey - where the TailMap should startpublic IntSortedSet keySet()
keySet in interface java.util.Map<java.lang.Integer,V>keySet in interface java.util.SortedMap<java.lang.Integer,V>keySet in interface Int2ObjectMap<V>keySet in interface Int2ObjectSortedMap<V>keySet in class Int2ObjectMaps.UnmodifyableMap<V>public int firstIntKey()
Int2ObjectSortedMapfirstIntKey in interface Int2ObjectSortedMap<V>public int pollFirstIntKey()
Int2ObjectSortedMappollFirstIntKey in interface Int2ObjectSortedMap<V>public int lastIntKey()
Int2ObjectSortedMaplastIntKey in interface Int2ObjectSortedMap<V>public int pollLastIntKey()
Int2ObjectSortedMappollLastIntKey in interface Int2ObjectSortedMap<V>public V firstValue()
Int2ObjectSortedMapfirstValue in interface Int2ObjectSortedMap<V>public V lastValue()
Int2ObjectSortedMaplastValue in interface Int2ObjectSortedMap<V>public Int2ObjectSortedMap<V> copy()
Int2ObjectMapcopy in interface Int2ObjectMap<V>copy in interface Int2ObjectSortedMap<V>copy in class Int2ObjectMaps.UnmodifyableMap<V>