public static class Long2ShortMaps.UnmodifyableSortedMap extends Long2ShortMaps.UnmodifyableMap implements Long2ShortSortedMap
AbstractLong2ShortMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Long2ShortSortedMap.FastSortedSetLong2ShortMap.BuilderCache, Long2ShortMap.Entry, Long2ShortMap.FastEntrySet, Long2ShortMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
LongComparator |
comparator() |
Long2ShortSortedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
long |
firstLongKey()
A method to get the first Key of a Map.
|
short |
firstShortValue()
A method to get the first Value of a Map.
|
Long2ShortSortedMap |
headMap(long toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
LongSortedSet |
keySet() |
long |
lastLongKey()
A method to get the last Key of a Map.
|
short |
lastShortValue()
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.
|
Long2ShortSortedMap |
subMap(long fromKey,
long toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Long2ShortSortedMap |
tailMap(long fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, clear, computeShort, computeShortIfAbsent, computeShortIfPresent, get, getOrDefault, long2ShortEntrySet, mergeAllShort, mergeShort, put, putIfAbsent, remove, remove, removeOrDefault, replaceShorts, replaceShorts, subFrom, supplyShortIfAbsent, valuesaddToAll, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, put, putAll, putAll, putAll, putAll, putAllIfAbsent, remove, replace, replace, setDefaultReturnValuecontainsKey, containsValue, isEmpty, size, toStringfirstKey, headMap, lastKey, subMap, synchronize, synchronize, tailMap, unmodifiable, valuesaddTo, addToAll, builder, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, long2ShortEntrySet, merge, mergeAllShort, mergeShort, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValue, subFrom, supplyShortIfAbsentpublic LongComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Long,java.lang.Short>comparator in interface Long2ShortSortedMappublic Long2ShortSortedMap subMap(long fromKey, long toKey)
Long2ShortSortedMapsubMap in interface Long2ShortSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Long2ShortSortedMap headMap(long toKey)
Long2ShortSortedMapheadMap in interface Long2ShortSortedMaptoKey - where the headMap should endpublic Long2ShortSortedMap tailMap(long fromKey)
Long2ShortSortedMaptailMap in interface Long2ShortSortedMapfromKey - where the TailMap should startpublic LongSortedSet keySet()
keySet in interface java.util.Map<java.lang.Long,java.lang.Short>keySet in interface java.util.SortedMap<java.lang.Long,java.lang.Short>keySet in interface Long2ShortMapkeySet in interface Long2ShortSortedMapkeySet in class Long2ShortMaps.UnmodifyableMappublic long firstLongKey()
Long2ShortSortedMapfirstLongKey in interface Long2ShortSortedMappublic long pollFirstLongKey()
Long2ShortSortedMappollFirstLongKey in interface Long2ShortSortedMappublic long lastLongKey()
Long2ShortSortedMaplastLongKey in interface Long2ShortSortedMappublic long pollLastLongKey()
Long2ShortSortedMappollLastLongKey in interface Long2ShortSortedMappublic short firstShortValue()
Long2ShortSortedMapfirstShortValue in interface Long2ShortSortedMappublic short lastShortValue()
Long2ShortSortedMaplastShortValue in interface Long2ShortSortedMappublic Long2ShortSortedMap copy()
Long2ShortMapcopy in interface Long2ShortMapcopy in interface Long2ShortSortedMapcopy in class Long2ShortMaps.UnmodifyableMap