public abstract class AbstractInt2DoubleSortedMap extends AbstractInt2DoubleMap implements Int2DoubleSortedMap
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractInt2DoubleSortedMap.KeySet
A wrapper exhibiting the keys of a map.
|
protected static class |
AbstractInt2DoubleSortedMap.KeySetIterator
A wrapper exhibiting a map iterator as an iterator on keys.
|
protected class |
AbstractInt2DoubleSortedMap.ValuesCollection
A wrapper exhibiting the values of a map.
|
protected static class |
AbstractInt2DoubleSortedMap.ValuesIterator
A wrapper exhibiting a map iterator as an iterator on values.
|
AbstractInt2DoubleMap.BasicEntryInt2DoubleSortedMap.FastSortedEntrySetInt2DoubleMap.Entry, Int2DoubleMap.FastEntrySet| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
defRetValue| Modifier | Constructor and Description |
|---|---|
protected |
AbstractInt2DoubleSortedMap() |
| Modifier and Type | Method and Description |
|---|---|
ObjectSortedSet<Map.Entry<Integer,Double>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
Integer |
firstKey()
Delegates to the corresponding type-specific method.
|
Int2DoubleSortedMap |
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.
|
Int2DoubleSortedMap |
subMap(Integer from,
Integer to)
Delegates to the corresponding type-specific method.
|
Int2DoubleSortedMap |
tailMap(Integer from)
Delegates to the corresponding type-specific method.
|
DoubleCollection |
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, removeclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparator, firstIntKey, headMap, int2DoubleEntrySet, lastIntKey, subMap, tailMapcontainsValuecontainsKey, defaultReturnValue, defaultReturnValue, get, put, removepublic static final long serialVersionUID
public Int2DoubleSortedMap headMap(Integer to)
headMap in interface Int2DoubleSortedMapheadMap in interface SortedMap<Integer,Double>SortedMap.headMap(Object)public Int2DoubleSortedMap tailMap(Integer from)
tailMap in interface Int2DoubleSortedMaptailMap in interface SortedMap<Integer,Double>SortedMap.tailMap(Object)public Int2DoubleSortedMap subMap(Integer from, Integer to)
subMap in interface Int2DoubleSortedMapsubMap in interface SortedMap<Integer,Double>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 Int2DoubleMapkeySet in interface Int2DoubleSortedMapkeySet in interface Map<Integer,Double>keySet in interface SortedMap<Integer,Double>keySet in class AbstractInt2DoubleMapMap.keySet()public DoubleCollection 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 Int2DoubleMapvalues in interface Int2DoubleSortedMapvalues in interface Map<Integer,Double>values in interface SortedMap<Integer,Double>values in class AbstractInt2DoubleMapMap.values()public ObjectSortedSet<Map.Entry<Integer,Double>> entrySet()
Int2DoubleMapNote that this specification strengthens the one given in Map.entrySet().
entrySet in interface Int2DoubleMapentrySet in interface Int2DoubleSortedMapentrySet in interface Map<Integer,Double>entrySet in interface SortedMap<Integer,Double>entrySet in class AbstractInt2DoubleMapMap.entrySet()Copyright © 2013. All Rights Reserved.