public abstract class AbstractFloat2ObjectSortedMap<V> extends AbstractFloat2ObjectMap<V> implements Float2ObjectSortedMap<V>
AbstractFloat2ObjectMap.BasicEntry<V>
Float2ObjectSortedMap.FastSortedEntrySet<V>
Float2ObjectMap.Entry<V>, Float2ObjectMap.FastEntrySet<V>
Modifier and Type | Method and Description |
---|---|
ObjectSortedSet<Map.Entry<Float,V>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
Float |
firstKey()
Delegates to the corresponding type-specific method.
|
Float2ObjectSortedMap<V> |
headMap(Float to)
Delegates to the corresponding type-specific method.
|
FloatSortedSet |
keySet()
Returns a type-specific-sorted-set view of the keys of this map.
|
Float |
lastKey()
Delegates to the corresponding type-specific method.
|
Float2ObjectSortedMap<V> |
subMap(Float from,
Float to)
Delegates to the corresponding type-specific method.
|
Float2ObjectSortedMap<V> |
tailMap(Float from)
Delegates to the corresponding type-specific method.
|
ObjectCollection<V> |
values()
Returns a type-specific collection view of the values contained in this map.
|
containsKey, containsValue, equals, hashCode, isEmpty, putAll, toString
clear, containsKey, defaultReturnValue, defaultReturnValue, get, put, put, remove, remove
comparator, firstFloatKey, float2ObjectEntrySet, headMap, lastFloatKey, subMap, tailMap
containsKey, defaultReturnValue, defaultReturnValue, get, put, remove
clear, containsKey, get, put, remove, size
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size
public Float2ObjectSortedMap<V> headMap(Float to)
headMap
in interface Float2ObjectSortedMap<V>
headMap
in interface SortedMap<Float,V>
SortedMap.headMap(Object)
public Float2ObjectSortedMap<V> tailMap(Float from)
tailMap
in interface Float2ObjectSortedMap<V>
tailMap
in interface SortedMap<Float,V>
SortedMap.tailMap(Object)
public Float2ObjectSortedMap<V> subMap(Float from, Float to)
subMap
in interface Float2ObjectSortedMap<V>
subMap
in interface SortedMap<Float,V>
SortedMap.subMap(Object,Object)
public Float firstKey()
public Float lastKey()
public FloatSortedSet keySet()
The view is backed by the sorted set returned by entrySet()
. Note that no attempt is made at caching the result of this method, as this would require adding some attributes
that lightweight implementations would not need. Subclasses may easily override this policy by calling this method and caching the result, but implementors are encouraged to write more
efficient ad-hoc implementations.
keySet
in interface Float2ObjectMap<V>
keySet
in interface Float2ObjectSortedMap<V>
keySet
in interface Map<Float,V>
keySet
in interface SortedMap<Float,V>
keySet
in class AbstractFloat2ObjectMap<V>
Map.keySet()
public ObjectCollection<V> values()
The view is backed by the sorted set returned by entrySet()
. Note that no attempt is made at caching the result of this method, as this would require adding some attributes
that lightweight implementations would not need. Subclasses may easily override this policy by calling this method and caching the result, but implementors are encouraged to write more
efficient ad-hoc implementations.
values
in interface Float2ObjectMap<V>
values
in interface Float2ObjectSortedMap<V>
values
in interface Map<Float,V>
values
in interface SortedMap<Float,V>
values
in class AbstractFloat2ObjectMap<V>
Map.values()
public ObjectSortedSet<Map.Entry<Float,V>> entrySet()
Float2ObjectMap
Note that this specification strengthens the one given in Map.entrySet()
.
entrySet
in interface Float2ObjectMap<V>
entrySet
in interface Float2ObjectSortedMap<V>
entrySet
in interface Map<Float,V>
entrySet
in interface SortedMap<Float,V>
entrySet
in class AbstractFloat2ObjectMap<V>
Map.entrySet()