public abstract class AbstractShort2BooleanSortedMap extends AbstractShort2BooleanMap implements Short2BooleanSortedMap
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractShort2BooleanSortedMap.KeySet
A wrapper exhibiting the keys of a map.
|
protected static class |
AbstractShort2BooleanSortedMap.KeySetIterator
A wrapper exhibiting a map iterator as an iterator on keys.
|
protected class |
AbstractShort2BooleanSortedMap.ValuesCollection
A wrapper exhibiting the values of a map.
|
protected static class |
AbstractShort2BooleanSortedMap.ValuesIterator
A wrapper exhibiting a map iterator as an iterator on values.
|
AbstractShort2BooleanMap.BasicEntryShort2BooleanSortedMap.FastSortedEntrySetShort2BooleanMap.Entry, Short2BooleanMap.FastEntrySet| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
defRetValue| Modifier | Constructor and Description |
|---|---|
protected |
AbstractShort2BooleanSortedMap() |
| Modifier and Type | Method and Description |
|---|---|
ObjectSortedSet<Map.Entry<Short,Boolean>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
Short |
firstKey()
Delegates to the corresponding type-specific method.
|
Short2BooleanSortedMap |
headMap(Short to)
Delegates to the corresponding type-specific method.
|
ShortSortedSet |
keySet()
Returns a type-specific-sorted-set view of the keys of this map.
|
Short |
lastKey()
Delegates to the corresponding type-specific method.
|
Short2BooleanSortedMap |
subMap(Short from,
Short to)
Delegates to the corresponding type-specific method.
|
Short2BooleanSortedMap |
tailMap(Short from)
Delegates to the corresponding type-specific method.
|
BooleanCollection |
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, firstShortKey, headMap, lastShortKey, short2BooleanEntrySet, subMap, tailMapcontainsValuecontainsKey, defaultReturnValue, defaultReturnValue, get, put, removepublic static final long serialVersionUID
public Short2BooleanSortedMap headMap(Short to)
headMap in interface Short2BooleanSortedMapheadMap in interface SortedMap<Short,Boolean>SortedMap.headMap(Object)public Short2BooleanSortedMap tailMap(Short from)
tailMap in interface Short2BooleanSortedMaptailMap in interface SortedMap<Short,Boolean>SortedMap.tailMap(Object)public Short2BooleanSortedMap subMap(Short from, Short to)
subMap in interface Short2BooleanSortedMapsubMap in interface SortedMap<Short,Boolean>SortedMap.subMap(Object,Object)public Short firstKey()
public Short lastKey()
public ShortSortedSet 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 Short2BooleanMapkeySet in interface Short2BooleanSortedMapkeySet in interface Map<Short,Boolean>keySet in interface SortedMap<Short,Boolean>keySet in class AbstractShort2BooleanMapMap.keySet()public BooleanCollection 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 Short2BooleanMapvalues in interface Short2BooleanSortedMapvalues in interface Map<Short,Boolean>values in interface SortedMap<Short,Boolean>values in class AbstractShort2BooleanMapMap.values()public ObjectSortedSet<Map.Entry<Short,Boolean>> entrySet()
Short2BooleanMapNote that this specification strengthens the one given in Map.entrySet().
entrySet in interface Short2BooleanMapentrySet in interface Short2BooleanSortedMapentrySet in interface Map<Short,Boolean>entrySet in interface SortedMap<Short,Boolean>entrySet in class AbstractShort2BooleanMapMap.entrySet()Copyright © 2013. All Rights Reserved.