public interface Int2ShortSortedMap extends java.util.SortedMap<java.lang.Integer,java.lang.Short>, Int2ShortMap
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 |
Int2ShortSortedMap.FastSortedSet
Fast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Int2ShortMap.BuilderCache, Int2ShortMap.Entry, Int2ShortMap.FastEntrySet, Int2ShortMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
IntComparator |
comparator() |
Int2ShortSortedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
int |
firstIntKey()
A method to get the first Key of a Map.
|
default java.lang.Integer |
firstKey()
Deprecated.
|
short |
firstShortValue()
A method to get the first Value of a Map.
|
Int2ShortSortedMap |
headMap(int toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
default Int2ShortSortedMap |
headMap(java.lang.Integer toKey)
Deprecated.
|
IntSortedSet |
keySet() |
int |
lastIntKey()
A method to get the last Key of a Map.
|
default java.lang.Integer |
lastKey()
Deprecated.
|
short |
lastShortValue()
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.
|
default Int2ShortSortedMap |
subMap(java.lang.Integer fromKey,
java.lang.Integer toKey)
Deprecated.
|
Int2ShortSortedMap |
subMap(int fromKey,
int toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
default Int2ShortSortedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Int2ShortSortedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
Int2ShortSortedMap |
tailMap(int fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
default Int2ShortSortedMap |
tailMap(java.lang.Integer fromKey)
Deprecated.
|
default Int2ShortSortedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
ShortCollection |
values() |
addTo, addToAll, applyAsShort, builder, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, int2ShortEntrySet, merge, mergeAllShort, mergeShort, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValue, subFrom, supplyShortIfAbsentIntComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Integer,java.lang.Short>Int2ShortSortedMap copy()
Int2ShortMapcopy in interface Int2ShortMapIntSortedSet keySet()
keySet in interface Int2ShortMapkeySet in interface java.util.Map<java.lang.Integer,java.lang.Short>keySet in interface java.util.SortedMap<java.lang.Integer,java.lang.Short>ShortCollection values()
values in interface Int2ShortMapvalues in interface java.util.Map<java.lang.Integer,java.lang.Short>values in interface java.util.SortedMap<java.lang.Integer,java.lang.Short>default Int2ShortSortedMap synchronize()
synchronize in interface Int2ShortMapInt2ShortMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2ShortMap)default Int2ShortSortedMap synchronize(java.lang.Object mutex)
synchronize in interface Int2ShortMapmutex - is the controller of the synchronization blockInt2ShortMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2ShortMap)default Int2ShortSortedMap unmodifiable()
unmodifiable in interface Int2ShortMapInt2ShortMaps.unmodifiable(speiger.src.collections.ints.maps.interfaces.Int2ShortMap)Int2ShortSortedMap subMap(int fromKey, int toKey)
fromKey - where the submap should starttoKey - where the subMap should endInt2ShortSortedMap headMap(int toKey)
toKey - where the headMap should endInt2ShortSortedMap tailMap(int fromKey)
fromKey - where the TailMap should startint firstIntKey()
int pollFirstIntKey()
int lastIntKey()
int pollLastIntKey()
short firstShortValue()
short lastShortValue()
@Deprecated default java.lang.Integer firstKey()
firstKey in interface java.util.SortedMap<java.lang.Integer,java.lang.Short>@Deprecated default java.lang.Integer lastKey()
lastKey in interface java.util.SortedMap<java.lang.Integer,java.lang.Short>@Deprecated default Int2ShortSortedMap subMap(java.lang.Integer fromKey, java.lang.Integer toKey)
subMap in interface java.util.SortedMap<java.lang.Integer,java.lang.Short>@Deprecated default Int2ShortSortedMap headMap(java.lang.Integer toKey)
headMap in interface java.util.SortedMap<java.lang.Integer,java.lang.Short>@Deprecated default Int2ShortSortedMap tailMap(java.lang.Integer fromKey)
tailMap in interface java.util.SortedMap<java.lang.Integer,java.lang.Short>