V - the type of elements maintained by this Collectionpublic interface Short2ObjectSortedMap<V> extends java.util.SortedMap<java.lang.Short,V>, Short2ObjectMap<V>
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 |
Short2ObjectSortedMap.FastSortedSet<V>
Fast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Short2ObjectMap.BuilderCache<V>, Short2ObjectMap.Entry<V>, Short2ObjectMap.FastEntrySet<V>, Short2ObjectMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
ShortComparator |
comparator() |
Short2ObjectSortedMap<V> |
copy()
A Function that does a shallow clone of the Map itself.
|
default java.lang.Short |
firstKey()
Deprecated.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
V |
firstValue()
A method to get the first Value of a Map.
|
Short2ObjectSortedMap<V> |
headMap(short toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
default Short2ObjectSortedMap<V> |
headMap(java.lang.Short toKey)
Deprecated.
|
ShortSortedSet |
keySet() |
default java.lang.Short |
lastKey()
Deprecated.
|
short |
lastShortKey()
A method to get the last Key of a Map.
|
V |
lastValue()
A method to get the last Value 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.
|
Short2ObjectSortedMap<V> |
subMap(short fromKey,
short toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
default Short2ObjectSortedMap<V> |
subMap(java.lang.Short fromKey,
java.lang.Short toKey)
Deprecated.
|
default Short2ObjectSortedMap<V> |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Short2ObjectSortedMap<V> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
Short2ObjectSortedMap<V> |
tailMap(short fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
default Short2ObjectSortedMap<V> |
tailMap(java.lang.Short fromKey)
Deprecated.
|
default Short2ObjectSortedMap<V> |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
ObjectCollection<V> |
values() |
builder, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, short2ObjectEntrySet, supplyIfAbsentShortComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Short,V>Short2ObjectSortedMap<V> copy()
Short2ObjectMapcopy in interface Short2ObjectMap<V>ShortSortedSet keySet()
keySet in interface java.util.Map<java.lang.Short,V>keySet in interface Short2ObjectMap<V>keySet in interface java.util.SortedMap<java.lang.Short,V>ObjectCollection<V> values()
values in interface java.util.Map<java.lang.Short,V>values in interface Short2ObjectMap<V>values in interface java.util.SortedMap<java.lang.Short,V>default Short2ObjectSortedMap<V> synchronize()
synchronize in interface Short2ObjectMap<V>Short2ObjectMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2ObjectMap<V>)default Short2ObjectSortedMap<V> synchronize(java.lang.Object mutex)
synchronize in interface Short2ObjectMap<V>mutex - is the controller of the synchronization blockShort2ObjectMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2ObjectMap<V>)default Short2ObjectSortedMap<V> unmodifiable()
unmodifiable in interface Short2ObjectMap<V>Short2ObjectMaps.unmodifiable(speiger.src.collections.shorts.maps.interfaces.Short2ObjectMap<V>)Short2ObjectSortedMap<V> subMap(short fromKey, short toKey)
fromKey - where the submap should starttoKey - where the subMap should endShort2ObjectSortedMap<V> headMap(short toKey)
toKey - where the headMap should endShort2ObjectSortedMap<V> tailMap(short fromKey)
fromKey - where the TailMap should startshort firstShortKey()
short pollFirstShortKey()
short lastShortKey()
short pollLastShortKey()
V firstValue()
V lastValue()
@Deprecated default java.lang.Short firstKey()
firstKey in interface java.util.SortedMap<java.lang.Short,V>@Deprecated default java.lang.Short lastKey()
lastKey in interface java.util.SortedMap<java.lang.Short,V>@Deprecated default Short2ObjectSortedMap<V> subMap(java.lang.Short fromKey, java.lang.Short toKey)
subMap in interface java.util.SortedMap<java.lang.Short,V>@Deprecated default Short2ObjectSortedMap<V> headMap(java.lang.Short toKey)
headMap in interface java.util.SortedMap<java.lang.Short,V>@Deprecated default Short2ObjectSortedMap<V> tailMap(java.lang.Short fromKey)
tailMap in interface java.util.SortedMap<java.lang.Short,V>