V - the keyType of elements maintained by this Collectionpublic interface Float2ObjectSortedMap<V> extends java.util.SortedMap<java.lang.Float,V>, Float2ObjectMap<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 |
Float2ObjectSortedMap.FastSortedSet<V>
Fast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Float2ObjectMap.BuilderCache<V>, Float2ObjectMap.Entry<V>, Float2ObjectMap.FastEntrySet<V>, Float2ObjectMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
FloatComparator |
comparator() |
Float2ObjectSortedMap<V> |
copy()
A Function that does a shallow clone of the Map itself.
|
float |
firstFloatKey()
A method to get the first Key of a Map.
|
default java.lang.Float |
firstKey()
Deprecated.
|
V |
firstValue()
A method to get the first Value of a Map.
|
Float2ObjectSortedMap<V> |
headMap(float toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
default Float2ObjectSortedMap<V> |
headMap(java.lang.Float toKey)
Deprecated.
|
FloatSortedSet |
keySet() |
float |
lastFloatKey()
A method to get the last Key of a Map.
|
default java.lang.Float |
lastKey()
Deprecated.
|
V |
lastValue()
A method to get the last Value of a Map.
|
float |
pollFirstFloatKey()
A method to get and remove the first Key of a Map.
|
float |
pollLastFloatKey()
A method to get and remove the last Key of a Map.
|
Float2ObjectSortedMap<V> |
subMap(float fromKey,
float toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
default Float2ObjectSortedMap<V> |
subMap(java.lang.Float fromKey,
java.lang.Float toKey)
Deprecated.
|
default Float2ObjectSortedMap<V> |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Float2ObjectSortedMap<V> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
Float2ObjectSortedMap<V> |
tailMap(float fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
default Float2ObjectSortedMap<V> |
tailMap(java.lang.Float fromKey)
Deprecated.
|
default Float2ObjectSortedMap<V> |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
ObjectCollection<V> |
values() |
apply, builder, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, float2ObjectEntrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, supplyIfAbsentFloatComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Float,V>Float2ObjectSortedMap<V> copy()
Float2ObjectMapcopy in interface Float2ObjectMap<V>FloatSortedSet keySet()
keySet in interface Float2ObjectMap<V>keySet in interface java.util.Map<java.lang.Float,V>keySet in interface java.util.SortedMap<java.lang.Float,V>ObjectCollection<V> values()
values in interface Float2ObjectMap<V>values in interface java.util.Map<java.lang.Float,V>values in interface java.util.SortedMap<java.lang.Float,V>default Float2ObjectSortedMap<V> synchronize()
synchronize in interface Float2ObjectMap<V>Float2ObjectMaps.synchronize(speiger.src.collections.floats.maps.interfaces.Float2ObjectMap<V>)default Float2ObjectSortedMap<V> synchronize(java.lang.Object mutex)
synchronize in interface Float2ObjectMap<V>mutex - is the controller of the synchronization blockFloat2ObjectMaps.synchronize(speiger.src.collections.floats.maps.interfaces.Float2ObjectMap<V>)default Float2ObjectSortedMap<V> unmodifiable()
unmodifiable in interface Float2ObjectMap<V>Float2ObjectMaps.unmodifiable(speiger.src.collections.floats.maps.interfaces.Float2ObjectMap<V>)Float2ObjectSortedMap<V> subMap(float fromKey, float toKey)
fromKey - where the submap should starttoKey - where the subMap should endFloat2ObjectSortedMap<V> headMap(float toKey)
toKey - where the headMap should endFloat2ObjectSortedMap<V> tailMap(float fromKey)
fromKey - where the TailMap should startfloat firstFloatKey()
float pollFirstFloatKey()
float lastFloatKey()
float pollLastFloatKey()
V firstValue()
V lastValue()
@Deprecated default java.lang.Float firstKey()
firstKey in interface java.util.SortedMap<java.lang.Float,V>@Deprecated default java.lang.Float lastKey()
lastKey in interface java.util.SortedMap<java.lang.Float,V>@Deprecated default Float2ObjectSortedMap<V> subMap(java.lang.Float fromKey, java.lang.Float toKey)
subMap in interface java.util.SortedMap<java.lang.Float,V>@Deprecated default Float2ObjectSortedMap<V> headMap(java.lang.Float toKey)
headMap in interface java.util.SortedMap<java.lang.Float,V>@Deprecated default Float2ObjectSortedMap<V> tailMap(java.lang.Float fromKey)
tailMap in interface java.util.SortedMap<java.lang.Float,V>