|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.unimi.dsi.fastutil.chars.AbstractChar2ShortMap
it.unimi.dsi.fastutil.chars.AbstractChar2ShortSortedMap
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
| Nested Class Summary |
| Nested classes inherited from class it.unimi.dsi.fastutil.chars.AbstractChar2ShortMap |
AbstractChar2ShortMap.BasicEntry |
| Nested classes inherited from class it.unimi.dsi.fastutil.chars.Char2ShortMap |
Char2ShortMap.Entry |
| Method Summary | |
Object |
firstKey()
Delegates to the corresponding type-specific method. |
SortedMap |
headMap(Object to)
Delegates to the corresponding type-specific method. |
Set |
keySet()
Returns a type-specific-sorted-set view of the keys of this map. |
Object |
lastKey()
Delegates to the corresponding type-specific method. |
SortedMap |
subMap(Object from,
Object to)
Delegates to the corresponding type-specific method. |
SortedMap |
tailMap(Object from)
Delegates to the corresponding type-specific method. |
| Methods inherited from class it.unimi.dsi.fastutil.chars.AbstractChar2ShortMap |
clear, containsKey, containsKey, containsValue, containsValue, defaultReturnValue, defaultReturnValue, equals, get, getDefRetValue, hashCode, isEmpty, put, put, putAll, remove, remove, setDefRetValue, toString, values |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface it.unimi.dsi.fastutil.chars.Char2ShortSortedMap |
firstCharKey, headMap, lastCharKey, subMap, tailMap |
| Methods inherited from interface it.unimi.dsi.fastutil.chars.Char2ShortMap |
containsKey, containsValue, defaultReturnValue, defaultReturnValue, get, getDefRetValue, put, remove, setDefRetValue |
| Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, put, putAll, remove, size, values |
| Methods inherited from interface java.util.SortedMap |
comparator |
| Method Detail |
public SortedMap headMap(Object to)
headMap in interface SortedMappublic SortedMap tailMap(Object from)
tailMap in interface SortedMap
public SortedMap subMap(Object from,
Object to)
subMap in interface SortedMappublic Object firstKey()
firstKey in interface SortedMappublic Object lastKey()
lastKey in interface SortedMappublic Set keySet()
The view is backed by the sorted set returned by Map.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 MapkeySet in class AbstractChar2ShortMap
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||