public abstract class AbstractFloat2ShortSortedMap extends AbstractFloat2ShortMap implements Float2ShortSortedMap
AbstractFloat2ShortMap.BasicEntry
Float2ShortSortedMap.FastSortedEntrySet
Float2ShortMap.Entry, Float2ShortMap.FastEntrySet
Modifier and Type | Method and Description |
---|---|
ObjectSortedSet<java.util.Map.Entry<java.lang.Float,java.lang.Short>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
java.lang.Float |
firstKey()
Delegates to the corresponding type-specific method.
|
Float2ShortSortedMap |
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.
|
Float2ShortSortedMap |
subMap(java.lang.Float from,
java.lang.Float to)
Delegates to the corresponding type-specific method.
|
Float2ShortSortedMap |
tailMap(java.lang.Float from)
Delegates to the corresponding type-specific method.
|
ShortCollection |
values()
Returns a type-specific collection view of the values contained in this map.
|
containsKey, containsValue, containsValue, equals, hashCode, isEmpty, putAll, toString
clear, containsKey, defaultReturnValue, defaultReturnValue, get, put, put, remove, remove
comparator, firstFloatKey, float2ShortEntrySet, headMap, lastFloatKey, subMap, tailMap
containsValue
containsKey, defaultReturnValue, defaultReturnValue, get, put, remove
public Float2ShortSortedMap headMap(java.lang.Float to)
headMap
in interface Float2ShortSortedMap
headMap
in interface java.util.SortedMap<java.lang.Float,java.lang.Short>
SortedMap.headMap(Object)
public Float2ShortSortedMap tailMap(java.lang.Float from)
tailMap
in interface Float2ShortSortedMap
tailMap
in interface java.util.SortedMap<java.lang.Float,java.lang.Short>
SortedMap.tailMap(Object)
public Float2ShortSortedMap subMap(java.lang.Float from, java.lang.Float to)
subMap
in interface Float2ShortSortedMap
subMap
in interface java.util.SortedMap<java.lang.Float,java.lang.Short>
SortedMap.subMap(Object,Object)
public java.lang.Float firstKey()
firstKey
in interface java.util.SortedMap<java.lang.Float,java.lang.Short>
public java.lang.Float lastKey()
lastKey
in interface java.util.SortedMap<java.lang.Float,java.lang.Short>
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 Float2ShortMap
keySet
in interface Float2ShortSortedMap
keySet
in interface java.util.Map<java.lang.Float,java.lang.Short>
keySet
in interface java.util.SortedMap<java.lang.Float,java.lang.Short>
keySet
in class AbstractFloat2ShortMap
Map.keySet()
public ShortCollection 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 Float2ShortMap
values
in interface Float2ShortSortedMap
values
in interface java.util.Map<java.lang.Float,java.lang.Short>
values
in interface java.util.SortedMap<java.lang.Float,java.lang.Short>
values
in class AbstractFloat2ShortMap
Map.values()
public ObjectSortedSet<java.util.Map.Entry<java.lang.Float,java.lang.Short>> entrySet()
Float2ShortMap
Note that this specification strengthens the one given in Map.entrySet()
.
entrySet
in interface Float2ShortMap
entrySet
in interface Float2ShortSortedMap
entrySet
in interface java.util.Map<java.lang.Float,java.lang.Short>
entrySet
in interface java.util.SortedMap<java.lang.Float,java.lang.Short>
entrySet
in class AbstractFloat2ShortMap
Map.entrySet()