public abstract class AbstractFloat2ReferenceSortedMap<V> extends AbstractFloat2ReferenceMap<V> implements Float2ReferenceSortedMap<V>
AbstractFloat2ReferenceMap.BasicEntry<V>
Float2ReferenceSortedMap.FastSortedEntrySet<V>
Float2ReferenceMap.Entry<V>, Float2ReferenceMap.FastEntrySet<V>
Modifier and Type | Method and Description |
---|---|
ObjectSortedSet<java.util.Map.Entry<java.lang.Float,V>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
java.lang.Float |
firstKey()
Delegates to the corresponding type-specific method.
|
Float2ReferenceSortedMap<V> |
headMap(java.lang.Float to)
Delegates to the corresponding type-specific method.
|
FloatSortedSet |
keySet()
Returns a type-specific-sorted-set view of the keys of this map.
|
java.lang.Float |
lastKey()
Delegates to the corresponding type-specific method.
|
Float2ReferenceSortedMap<V> |
subMap(java.lang.Float from,
java.lang.Float to)
Delegates to the corresponding type-specific method.
|
Float2ReferenceSortedMap<V> |
tailMap(java.lang.Float from)
Delegates to the corresponding type-specific method.
|
ReferenceCollection<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, float2ReferenceEntrySet, headMap, lastFloatKey, subMap, tailMap
containsKey, defaultReturnValue, defaultReturnValue, get, put, remove
public Float2ReferenceSortedMap<V> headMap(java.lang.Float to)
headMap
in interface Float2ReferenceSortedMap<V>
headMap
in interface java.util.SortedMap<java.lang.Float,V>
SortedMap.headMap(Object)
public Float2ReferenceSortedMap<V> tailMap(java.lang.Float from)
tailMap
in interface Float2ReferenceSortedMap<V>
tailMap
in interface java.util.SortedMap<java.lang.Float,V>
SortedMap.tailMap(Object)
public Float2ReferenceSortedMap<V> subMap(java.lang.Float from, java.lang.Float to)
subMap
in interface Float2ReferenceSortedMap<V>
subMap
in interface java.util.SortedMap<java.lang.Float,V>
SortedMap.subMap(Object,Object)
public java.lang.Float firstKey()
firstKey
in interface java.util.SortedMap<java.lang.Float,V>
public java.lang.Float lastKey()
lastKey
in interface java.util.SortedMap<java.lang.Float,V>
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 Float2ReferenceMap<V>
keySet
in interface Float2ReferenceSortedMap<V>
keySet
in interface java.util.Map<java.lang.Float,V>
keySet
in interface java.util.SortedMap<java.lang.Float,V>
keySet
in class AbstractFloat2ReferenceMap<V>
Map.keySet()
public ReferenceCollection<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 Float2ReferenceMap<V>
values
in interface Float2ReferenceSortedMap<V>
values
in interface java.util.Map<java.lang.Float,V>
values
in interface java.util.SortedMap<java.lang.Float,V>
values
in class AbstractFloat2ReferenceMap<V>
Map.values()
public ObjectSortedSet<java.util.Map.Entry<java.lang.Float,V>> entrySet()
Float2ReferenceMap
Note that this specification strengthens the one given in Map.entrySet()
.
entrySet
in interface Float2ReferenceMap<V>
entrySet
in interface Float2ReferenceSortedMap<V>
entrySet
in interface java.util.Map<java.lang.Float,V>
entrySet
in interface java.util.SortedMap<java.lang.Float,V>
entrySet
in class AbstractFloat2ReferenceMap<V>
Map.entrySet()