public abstract class AbstractInt2FloatSortedMap extends AbstractInt2FloatMap implements Int2FloatSortedMap
AbstractInt2FloatMap.BasicEntry
Int2FloatSortedMap.FastSortedEntrySet
Int2FloatMap.Entry, Int2FloatMap.FastEntrySet
Modifier and Type | Method and Description |
---|---|
ObjectSortedSet<Map.Entry<Integer,Float>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
Integer |
firstKey()
Delegates to the corresponding type-specific method.
|
Int2FloatSortedMap |
headMap(Integer to)
Delegates to the corresponding type-specific method.
|
IntSortedSet |
keySet()
Returns a type-specific-sorted-set view of the keys of this map.
|
Integer |
lastKey()
Delegates to the corresponding type-specific method.
|
Int2FloatSortedMap |
subMap(Integer from,
Integer to)
Delegates to the corresponding type-specific method.
|
Int2FloatSortedMap |
tailMap(Integer from)
Delegates to the corresponding type-specific method.
|
FloatCollection |
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, firstIntKey, headMap, int2FloatEntrySet, lastIntKey, subMap, tailMap
containsValue
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 Int2FloatSortedMap headMap(Integer to)
headMap
in interface Int2FloatSortedMap
headMap
in interface SortedMap<Integer,Float>
SortedMap.headMap(Object)
public Int2FloatSortedMap tailMap(Integer from)
tailMap
in interface Int2FloatSortedMap
tailMap
in interface SortedMap<Integer,Float>
SortedMap.tailMap(Object)
public Int2FloatSortedMap subMap(Integer from, Integer to)
subMap
in interface Int2FloatSortedMap
subMap
in interface SortedMap<Integer,Float>
SortedMap.subMap(Object,Object)
public Integer firstKey()
public Integer lastKey()
public IntSortedSet 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 Int2FloatMap
keySet
in interface Int2FloatSortedMap
keySet
in interface Map<Integer,Float>
keySet
in interface SortedMap<Integer,Float>
keySet
in class AbstractInt2FloatMap
Map.keySet()
public FloatCollection 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 Int2FloatMap
values
in interface Int2FloatSortedMap
values
in interface Map<Integer,Float>
values
in interface SortedMap<Integer,Float>
values
in class AbstractInt2FloatMap
Map.values()
public ObjectSortedSet<Map.Entry<Integer,Float>> entrySet()
Int2FloatMap
Note that this specification strengthens the one given in Map.entrySet()
.
entrySet
in interface Int2FloatMap
entrySet
in interface Int2FloatSortedMap
entrySet
in interface Map<Integer,Float>
entrySet
in interface SortedMap<Integer,Float>
entrySet
in class AbstractInt2FloatMap
Map.entrySet()