public abstract class AbstractReference2ShortSortedMap<K> extends AbstractReference2ShortMap<K> implements Reference2ShortSortedMap<K>
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractReference2ShortSortedMap.KeySet
A wrapper exhibiting the keys of a map.
|
protected static class |
AbstractReference2ShortSortedMap.KeySetIterator<K>
A wrapper exhibiting a map iterator as an iterator on keys.
|
protected class |
AbstractReference2ShortSortedMap.ValuesCollection
A wrapper exhibiting the values of a map.
|
protected static class |
AbstractReference2ShortSortedMap.ValuesIterator<K>
A wrapper exhibiting a map iterator as an iterator on values.
|
AbstractReference2ShortMap.BasicEntry<K>, AbstractReference2ShortMap.BasicEntrySet<K>Reference2ShortSortedMap.FastSortedEntrySet<K>Reference2ShortMap.Entry<K>, Reference2ShortMap.FastEntrySet<K>defRetValue| Modifier | Constructor and Description |
|---|---|
protected |
AbstractReference2ShortSortedMap() |
| Modifier and Type | Method and Description |
|---|---|
ReferenceSortedSet<K> |
keySet()
Returns a type-specific-set view of the keys of this map.
|
ShortCollection |
values()
Returns a type-specific-set view of the values of this map.
|
containsKey, containsValue, equals, hashCode, isEmpty, putAll, toStringdefaultReturnValue, defaultReturnValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparator, entrySet, headMap, reference2ShortEntrySet, subMap, tailMapclear, computeShort, computeShortIfAbsent, computeShortIfAbsentPartial, computeShortIfPresent, containsKey, containsValue, containsValue, defaultReturnValue, defaultReturnValue, get, getOrDefault, getOrDefault, merge, mergeShort, put, putIfAbsent, putIfAbsent, remove, remove, remove, replace, replace, replace, replace, sizeapplyAsInt, getShort, put, removeShortcompute, computeIfAbsent, computeIfPresent, equals, forEach, hashCode, isEmpty, putAll, replaceAllpublic ReferenceSortedSet<K> keySet()
The view is backed by the 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.
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 Reference2ShortMap<K>keySet in interface Reference2ShortSortedMap<K>keySet in interface Map<K,Short>keySet in interface SortedMap<K,Short>keySet in class AbstractReference2ShortMap<K>Map.keySet()public ShortCollection values()
The view is backed by the 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.
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.
values in interface Reference2ShortMap<K>values in interface Reference2ShortSortedMap<K>values in interface Map<K,Short>values in interface SortedMap<K,Short>values in class AbstractReference2ShortMap<K>Map.values()Copyright © 2020. All rights reserved.