T - the type of elements maintained by this Collectionpublic interface Object2ShortSortedMap<T> extends java.util.SortedMap<T,java.lang.Short>, Object2ShortMap<T>
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 |
Object2ShortSortedMap.FastSortedSet<T>
Fast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Object2ShortMap.BuilderCache<T>, Object2ShortMap.Entry<T>, Object2ShortMap.FastEntrySet<T>, Object2ShortMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<T> |
comparator() |
Object2ShortSortedMap<T> |
copy()
A Function that does a shallow clone of the Map itself.
|
short |
firstShortValue()
A method to get the first Value of a Map.
|
Object2ShortSortedMap<T> |
headMap(T toKey) |
ObjectSortedSet<T> |
keySet() |
short |
lastShortValue()
A method to get the last Value of a Map.
|
T |
pollFirstKey()
A method to get and remove the first Key of a Map.
|
T |
pollLastKey()
A method to get and remove the last Key of a Map.
|
Object2ShortSortedMap<T> |
subMap(T fromKey,
T toKey) |
default Object2ShortSortedMap<T> |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Object2ShortSortedMap<T> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
Object2ShortSortedMap<T> |
tailMap(T fromKey) |
default Object2ShortSortedMap<T> |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
ShortCollection |
values() |
addTo, addToAll, builder, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfPresent, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getOrDefault, getOrDefault, getShort, merge, mergeAllShort, mergeShort, object2ShortEntrySet, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, rem, remOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValue, subFrom, supplyShortIfAbsentjava.util.Comparator<T> comparator()
comparator in interface java.util.SortedMap<T,java.lang.Short>Object2ShortSortedMap<T> copy()
Object2ShortMapcopy in interface Object2ShortMap<T>ObjectSortedSet<T> keySet()
keySet in interface java.util.Map<T,java.lang.Short>keySet in interface Object2ShortMap<T>keySet in interface java.util.SortedMap<T,java.lang.Short>ShortCollection values()
values in interface java.util.Map<T,java.lang.Short>values in interface Object2ShortMap<T>values in interface java.util.SortedMap<T,java.lang.Short>default Object2ShortSortedMap<T> synchronize()
synchronize in interface Object2ShortMap<T>Object2ShortMaps.synchronize(speiger.src.collections.objects.maps.interfaces.Object2ShortMap<T>)default Object2ShortSortedMap<T> synchronize(java.lang.Object mutex)
synchronize in interface Object2ShortMap<T>mutex - is the controller of the synchronization blockObject2ShortMaps.synchronize(speiger.src.collections.objects.maps.interfaces.Object2ShortMap<T>)default Object2ShortSortedMap<T> unmodifiable()
unmodifiable in interface Object2ShortMap<T>Object2ShortMaps.unmodifiable(speiger.src.collections.objects.maps.interfaces.Object2ShortMap<T>)T pollFirstKey()
T pollLastKey()
short firstShortValue()
short lastShortValue()
Object2ShortSortedMap<T> subMap(T fromKey, T toKey)
subMap in interface java.util.SortedMap<T,java.lang.Short>Object2ShortSortedMap<T> headMap(T toKey)
headMap in interface java.util.SortedMap<T,java.lang.Short>Object2ShortSortedMap<T> tailMap(T fromKey)
tailMap in interface java.util.SortedMap<T,java.lang.Short>