public abstract class AbstractLong2CharSortedMap extends AbstractLong2CharMap implements Long2CharSortedMap
AbstractLong2CharMap.BasicEntry
Long2CharSortedMap.FastSortedEntrySet
Long2CharMap.Entry, Long2CharMap.FastEntrySet
Modifier and Type | Method and Description |
---|---|
ObjectSortedSet<Map.Entry<Long,Character>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
Long |
firstKey()
Delegates to the corresponding type-specific method.
|
Long2CharSortedMap |
headMap(Long to)
Delegates to the corresponding type-specific method.
|
LongSortedSet |
keySet()
Returns a type-specific-sorted-set view of the keys of this map.
|
Long |
lastKey()
Delegates to the corresponding type-specific method.
|
Long2CharSortedMap |
subMap(Long from,
Long to)
Delegates to the corresponding type-specific method.
|
Long2CharSortedMap |
tailMap(Long from)
Delegates to the corresponding type-specific method.
|
CharCollection |
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, firstLongKey, headMap, lastLongKey, long2CharEntrySet, subMap, tailMap
containsValue
containsKey, defaultReturnValue, defaultReturnValue, get, put, remove
public Long2CharSortedMap headMap(Long to)
headMap
in interface Long2CharSortedMap
headMap
in interface SortedMap<Long,Character>
SortedMap.headMap(Object)
public Long2CharSortedMap tailMap(Long from)
tailMap
in interface Long2CharSortedMap
tailMap
in interface SortedMap<Long,Character>
SortedMap.tailMap(Object)
public Long2CharSortedMap subMap(Long from, Long to)
subMap
in interface Long2CharSortedMap
subMap
in interface SortedMap<Long,Character>
SortedMap.subMap(Object,Object)
public Long firstKey()
public Long lastKey()
public LongSortedSet 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 Long2CharMap
keySet
in interface Long2CharSortedMap
keySet
in interface Map<Long,Character>
keySet
in interface SortedMap<Long,Character>
keySet
in class AbstractLong2CharMap
Map.keySet()
public CharCollection 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 Long2CharMap
values
in interface Long2CharSortedMap
values
in interface Map<Long,Character>
values
in interface SortedMap<Long,Character>
values
in class AbstractLong2CharMap
Map.values()
public ObjectSortedSet<Map.Entry<Long,Character>> entrySet()
Long2CharMap
Note that this specification strengthens the one given in Map.entrySet()
.
entrySet
in interface Long2CharMap
entrySet
in interface Long2CharSortedMap
entrySet
in interface Map<Long,Character>
entrySet
in interface SortedMap<Long,Character>
entrySet
in class AbstractLong2CharMap
Map.entrySet()