public abstract class AbstractFloat2IntSortedMap extends AbstractFloat2IntMap implements Float2IntSortedMap
AbstractFloat2IntMap.BasicEntryFloat2IntSortedMap.FastSortedEntrySetFloat2IntMap.Entry, Float2IntMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ObjectSortedSet<Map.Entry<Float,Integer>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
Float |
firstKey()
Delegates to the corresponding type-specific method.
|
Float2IntSortedMap |
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.
|
Float2IntSortedMap |
subMap(Float from,
Float to)
Delegates to the corresponding type-specific method.
|
Float2IntSortedMap |
tailMap(Float from)
Delegates to the corresponding type-specific method.
|
IntCollection |
values()
Returns a type-specific collection view of the values contained in this map.
|
containsKey, containsValue, containsValue, equals, hashCode, isEmpty, putAll, toStringclear, containsKey, defaultReturnValue, defaultReturnValue, get, put, put, remove, removecomparator, firstFloatKey, float2IntEntrySet, headMap, lastFloatKey, subMap, tailMapcontainsValuecontainsKey, defaultReturnValue, defaultReturnValue, get, put, removepublic Float2IntSortedMap headMap(Float to)
headMap in interface Float2IntSortedMapheadMap in interface SortedMap<Float,Integer>SortedMap.headMap(Object)public Float2IntSortedMap tailMap(Float from)
tailMap in interface Float2IntSortedMaptailMap in interface SortedMap<Float,Integer>SortedMap.tailMap(Object)public Float2IntSortedMap subMap(Float from, Float to)
subMap in interface Float2IntSortedMapsubMap in interface SortedMap<Float,Integer>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 Float2IntMapkeySet in interface Float2IntSortedMapkeySet in interface Map<Float,Integer>keySet in interface SortedMap<Float,Integer>keySet in class AbstractFloat2IntMapMap.keySet()public IntCollection 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 Float2IntMapvalues in interface Float2IntSortedMapvalues in interface Map<Float,Integer>values in interface SortedMap<Float,Integer>values in class AbstractFloat2IntMapMap.values()public ObjectSortedSet<Map.Entry<Float,Integer>> entrySet()
Float2IntMapNote that this specification strengthens the one given in Map.entrySet().
entrySet in interface Float2IntMapentrySet in interface Float2IntSortedMapentrySet in interface Map<Float,Integer>entrySet in interface SortedMap<Float,Integer>entrySet in class AbstractFloat2IntMapMap.entrySet()