public interface Short2IntSortedMap extends java.util.SortedMap<java.lang.Short,java.lang.Integer>, Short2IntMap
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 |
Short2IntSortedMap.FastSortedSet
Fast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Short2IntMap.BuilderCache, Short2IntMap.Entry, Short2IntMap.FastEntrySet, Short2IntMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
ShortComparator |
comparator() |
Short2IntSortedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
int |
firstIntValue()
A method to get the first Value of a Map.
|
default java.lang.Short |
firstKey()
Deprecated.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
Short2IntSortedMap |
headMap(short toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
default Short2IntSortedMap |
headMap(java.lang.Short toKey)
Deprecated.
|
ShortSortedSet |
keySet() |
int |
lastIntValue()
A method to get the last Value of a Map.
|
default java.lang.Short |
lastKey()
Deprecated.
|
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.
|
Short2IntSortedMap |
subMap(short fromKey,
short toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
default Short2IntSortedMap |
subMap(java.lang.Short fromKey,
java.lang.Short toKey)
Deprecated.
|
default Short2IntSortedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Short2IntSortedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
Short2IntSortedMap |
tailMap(short fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
default Short2IntSortedMap |
tailMap(java.lang.Short fromKey)
Deprecated.
|
default Short2IntSortedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
IntCollection |
values() |
addTo, addToAll, applyAsInt, builder, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllInt, mergeInt, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValue, short2IntEntrySet, subFrom, supplyIntIfAbsentShortComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Short,java.lang.Integer>Short2IntSortedMap copy()
Short2IntMapcopy in interface Short2IntMapShortSortedSet keySet()
keySet in interface java.util.Map<java.lang.Short,java.lang.Integer>keySet in interface Short2IntMapkeySet in interface java.util.SortedMap<java.lang.Short,java.lang.Integer>IntCollection values()
values in interface java.util.Map<java.lang.Short,java.lang.Integer>values in interface Short2IntMapvalues in interface java.util.SortedMap<java.lang.Short,java.lang.Integer>default Short2IntSortedMap synchronize()
synchronize in interface Short2IntMapShort2IntMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2IntMap)default Short2IntSortedMap synchronize(java.lang.Object mutex)
synchronize in interface Short2IntMapmutex - is the controller of the synchronization blockShort2IntMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2IntMap)default Short2IntSortedMap unmodifiable()
unmodifiable in interface Short2IntMapShort2IntMaps.unmodifiable(speiger.src.collections.shorts.maps.interfaces.Short2IntMap)Short2IntSortedMap subMap(short fromKey, short toKey)
fromKey - where the submap should starttoKey - where the subMap should endShort2IntSortedMap headMap(short toKey)
toKey - where the headMap should endShort2IntSortedMap tailMap(short fromKey)
fromKey - where the TailMap should startshort firstShortKey()
short pollFirstShortKey()
short lastShortKey()
short pollLastShortKey()
int firstIntValue()
int lastIntValue()
@Deprecated default java.lang.Short firstKey()
firstKey in interface java.util.SortedMap<java.lang.Short,java.lang.Integer>@Deprecated default java.lang.Short lastKey()
lastKey in interface java.util.SortedMap<java.lang.Short,java.lang.Integer>@Deprecated default Short2IntSortedMap subMap(java.lang.Short fromKey, java.lang.Short toKey)
subMap in interface java.util.SortedMap<java.lang.Short,java.lang.Integer>@Deprecated default Short2IntSortedMap headMap(java.lang.Short toKey)
headMap in interface java.util.SortedMap<java.lang.Short,java.lang.Integer>@Deprecated default Short2IntSortedMap tailMap(java.lang.Short fromKey)
tailMap in interface java.util.SortedMap<java.lang.Short,java.lang.Integer>