K - key typeV - value typeabstract static class CompatibleGuava11.ImprovedAbstractMap<K,V> extends AbstractMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
private Set<Map.Entry<K,V>> |
entrySet |
private Set<K> |
keySet |
private Collection<V> |
values |
| Constructor and Description |
|---|
ImprovedAbstractMap() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Set<Map.Entry<K,V>> |
createEntrySet()
Creates the entry set to be returned by
entrySet(). |
Set<Map.Entry<K,V>> |
entrySet() |
Set<K> |
keySet() |
Collection<V> |
values() |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprivate Collection<V> values
protected abstract Set<Map.Entry<K,V>> createEntrySet()
entrySet(). This method
is invoked at most once on a given map, at the time when entrySet
is first called.public Collection<V> values()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.