|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectit.unimi.dsi.fastutil.ints.AbstractInt2LongFunction
it.unimi.dsi.fastutil.ints.AbstractInt2LongMap
it.unimi.dsi.fastutil.ints.AbstractInt2LongSortedMap
public abstract class AbstractInt2LongSortedMap
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2LongMap |
|---|
AbstractInt2LongMap.BasicEntry |
| Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.ints.Int2LongSortedMap |
|---|
Int2LongSortedMap.FastSortedEntrySet |
| Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.ints.Int2LongMap |
|---|
Int2LongMap.Entry, Int2LongMap.FastEntrySet |
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Method Summary | |
|---|---|
ObjectSortedSet<Map.Entry<Integer,Long>> |
entrySet()
Returns a set view of the mappings contained in this map. |
Integer |
firstKey()
Delegates to the corresponding type-specific method. |
Int2LongSortedMap |
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. |
Int2LongSortedMap |
subMap(Integer from,
Integer to)
Delegates to the corresponding type-specific method. |
Int2LongSortedMap |
tailMap(Integer from)
Delegates to the corresponding type-specific method. |
LongCollection |
values()
Returns a type-specific collection view of the values contained in this map. |
| Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2LongMap |
|---|
containsKey, containsValue, containsValue, equals, hashCode, isEmpty, putAll, toString |
| Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2LongFunction |
|---|
clear, containsKey, defaultReturnValue, defaultReturnValue, get, put, put, remove, remove |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface it.unimi.dsi.fastutil.ints.Int2LongSortedMap |
|---|
comparator, firstIntKey, headMap, int2LongEntrySet, lastIntKey, subMap, tailMap |
| Methods inherited from interface it.unimi.dsi.fastutil.ints.Int2LongMap |
|---|
containsValue |
| Methods inherited from interface it.unimi.dsi.fastutil.ints.Int2LongFunction |
|---|
containsKey, defaultReturnValue, defaultReturnValue, get, put, remove |
| Methods inherited from interface it.unimi.dsi.fastutil.Function |
|---|
clear, containsKey, get, put, remove, size |
| Methods inherited from interface java.util.Map |
|---|
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size |
| Methods inherited from interface java.util.Map |
|---|
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size |
| Field Detail |
|---|
public static final long serialVersionUID
| Method Detail |
|---|
public Int2LongSortedMap headMap(Integer to)
headMap in interface Int2LongSortedMapheadMap in interface SortedMap<Integer,Long>SortedMap.headMap(Object)public Int2LongSortedMap tailMap(Integer from)
tailMap in interface Int2LongSortedMaptailMap in interface SortedMap<Integer,Long>SortedMap.tailMap(Object)
public Int2LongSortedMap subMap(Integer from,
Integer to)
subMap in interface Int2LongSortedMapsubMap in interface SortedMap<Integer,Long>SortedMap.subMap(Object,Object)public Integer firstKey()
firstKey in interface SortedMap<Integer,Long>public Integer lastKey()
lastKey in interface SortedMap<Integer,Long>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 Int2LongMapkeySet in interface Int2LongSortedMapkeySet in interface Map<Integer,Long>keySet in class AbstractInt2LongMapMap.keySet()public LongCollection 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 Int2LongMapvalues in interface Int2LongSortedMapvalues in interface Map<Integer,Long>values in class AbstractInt2LongMapMap.values()public ObjectSortedSet<Map.Entry<Integer,Long>> entrySet()
Int2LongMapNote that this specification strengthens the one given in Map.entrySet().
entrySet in interface Int2LongMapentrySet in interface Int2LongSortedMapentrySet in interface Map<Integer,Long>entrySet in class AbstractInt2LongMapMap.entrySet()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||