public interface Short2FloatSortedMap extends java.util.SortedMap<java.lang.Short,java.lang.Float>, Short2FloatMap
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 |
Short2FloatSortedMap.FastSortedSet
Fast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Short2FloatMap.BuilderCache, Short2FloatMap.Entry, Short2FloatMap.FastEntrySet, Short2FloatMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
ShortComparator |
comparator() |
Short2FloatSortedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
float |
firstFloatValue()
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.
|
Short2FloatSortedMap |
headMap(short toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
default Short2FloatSortedMap |
headMap(java.lang.Short toKey)
Deprecated.
|
ShortSortedSet |
keySet() |
float |
lastFloatValue()
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.
|
Short2FloatSortedMap |
subMap(short fromKey,
short toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
default Short2FloatSortedMap |
subMap(java.lang.Short fromKey,
java.lang.Short toKey)
Deprecated.
|
default Short2FloatSortedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Short2FloatSortedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
Short2FloatSortedMap |
tailMap(short fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
default Short2FloatSortedMap |
tailMap(java.lang.Short fromKey)
Deprecated.
|
default Short2FloatSortedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
FloatCollection |
values() |
addTo, addToAll, applyAsFloat, builder, compute, computeFloat, computeFloatIfAbsent, computeFloatIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllFloat, mergeFloat, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceFloats, replaceFloats, setDefaultReturnValue, short2FloatEntrySet, subFrom, supplyFloatIfAbsentShortComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Short,java.lang.Float>Short2FloatSortedMap copy()
Short2FloatMapcopy in interface Short2FloatMapShortSortedSet keySet()
keySet in interface java.util.Map<java.lang.Short,java.lang.Float>keySet in interface Short2FloatMapkeySet in interface java.util.SortedMap<java.lang.Short,java.lang.Float>FloatCollection values()
values in interface java.util.Map<java.lang.Short,java.lang.Float>values in interface Short2FloatMapvalues in interface java.util.SortedMap<java.lang.Short,java.lang.Float>default Short2FloatSortedMap synchronize()
synchronize in interface Short2FloatMapShort2FloatMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2FloatMap)default Short2FloatSortedMap synchronize(java.lang.Object mutex)
synchronize in interface Short2FloatMapmutex - is the controller of the synchronization blockShort2FloatMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2FloatMap)default Short2FloatSortedMap unmodifiable()
unmodifiable in interface Short2FloatMapShort2FloatMaps.unmodifiable(speiger.src.collections.shorts.maps.interfaces.Short2FloatMap)Short2FloatSortedMap subMap(short fromKey, short toKey)
fromKey - where the submap should starttoKey - where the subMap should endShort2FloatSortedMap headMap(short toKey)
toKey - where the headMap should endShort2FloatSortedMap tailMap(short fromKey)
fromKey - where the TailMap should startshort firstShortKey()
short pollFirstShortKey()
short lastShortKey()
short pollLastShortKey()
float firstFloatValue()
float lastFloatValue()
@Deprecated default java.lang.Short firstKey()
firstKey in interface java.util.SortedMap<java.lang.Short,java.lang.Float>@Deprecated default java.lang.Short lastKey()
lastKey in interface java.util.SortedMap<java.lang.Short,java.lang.Float>@Deprecated default Short2FloatSortedMap subMap(java.lang.Short fromKey, java.lang.Short toKey)
subMap in interface java.util.SortedMap<java.lang.Short,java.lang.Float>@Deprecated default Short2FloatSortedMap headMap(java.lang.Short toKey)
headMap in interface java.util.SortedMap<java.lang.Short,java.lang.Float>@Deprecated default Short2FloatSortedMap tailMap(java.lang.Short fromKey)
tailMap in interface java.util.SortedMap<java.lang.Short,java.lang.Float>