public interface Short2LongSortedMap extends java.util.SortedMap<java.lang.Short,java.lang.Long>, Short2LongMap
SortedMap interface to reduce boxing/unboxing, with a couple extra methods that allow greater control over maps.| Modifier and Type | Interface and Description |
|---|---|
static interface |
Short2LongSortedMap.FastSortedSet
Fast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Short2LongMap.BuilderCache, Short2LongMap.Entry, Short2LongMap.FastEntrySet, Short2LongMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
ShortComparator |
comparator() |
Short2LongSortedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
default java.lang.Short |
firstKey()
Deprecated.
|
long |
firstLongValue()
A method to get the first Value of a Map.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
Short2LongSortedMap |
headMap(short toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
default Short2LongSortedMap |
headMap(java.lang.Short toKey)
Deprecated.
|
ShortSortedSet |
keySet() |
default java.lang.Short |
lastKey()
Deprecated.
|
long |
lastLongValue()
A method to get the last Value of a Map.
|
short |
lastShortKey()
A method to get the last Key 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.
|
Short2LongSortedMap |
subMap(short fromKey,
short toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
default Short2LongSortedMap |
subMap(java.lang.Short fromKey,
java.lang.Short toKey)
Deprecated.
|
default Short2LongSortedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Short2LongSortedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
Short2LongSortedMap |
tailMap(short fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
default Short2LongSortedMap |
tailMap(java.lang.Short fromKey)
Deprecated.
|
default Short2LongSortedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
LongCollection |
values() |
addTo, addToAll, builder, compute, computeIfAbsent, computeIfPresent, computeLong, computeLongIfAbsent, computeLongIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllLong, mergeLong, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceLongs, replaceLongs, setDefaultReturnValue, short2LongEntrySet, subFrom, supplyLongIfAbsentShortComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Short,java.lang.Long>Short2LongSortedMap copy()
Short2LongMapcopy in interface Short2LongMapShortSortedSet keySet()
keySet in interface java.util.Map<java.lang.Short,java.lang.Long>keySet in interface Short2LongMapkeySet in interface java.util.SortedMap<java.lang.Short,java.lang.Long>LongCollection values()
values in interface java.util.Map<java.lang.Short,java.lang.Long>values in interface Short2LongMapvalues in interface java.util.SortedMap<java.lang.Short,java.lang.Long>default Short2LongSortedMap synchronize()
synchronize in interface Short2LongMapShort2LongMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2LongMap)default Short2LongSortedMap synchronize(java.lang.Object mutex)
synchronize in interface Short2LongMapmutex - is the controller of the synchronization blockShort2LongMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2LongMap)default Short2LongSortedMap unmodifiable()
unmodifiable in interface Short2LongMapShort2LongMaps.unmodifiable(speiger.src.collections.shorts.maps.interfaces.Short2LongMap)Short2LongSortedMap subMap(short fromKey, short toKey)
fromKey - where the submap should starttoKey - where the subMap should endShort2LongSortedMap headMap(short toKey)
toKey - where the headMap should endShort2LongSortedMap tailMap(short fromKey)
fromKey - where the TailMap should startshort firstShortKey()
short pollFirstShortKey()
short lastShortKey()
short pollLastShortKey()
long firstLongValue()
long lastLongValue()
@Deprecated default java.lang.Short firstKey()
firstKey in interface java.util.SortedMap<java.lang.Short,java.lang.Long>@Deprecated default java.lang.Short lastKey()
lastKey in interface java.util.SortedMap<java.lang.Short,java.lang.Long>@Deprecated default Short2LongSortedMap subMap(java.lang.Short fromKey, java.lang.Short toKey)
subMap in interface java.util.SortedMap<java.lang.Short,java.lang.Long>@Deprecated default Short2LongSortedMap headMap(java.lang.Short toKey)
headMap in interface java.util.SortedMap<java.lang.Short,java.lang.Long>@Deprecated default Short2LongSortedMap tailMap(java.lang.Short fromKey)
tailMap in interface java.util.SortedMap<java.lang.Short,java.lang.Long>