@Beta protected abstract class ForwardingMap.StandardEntrySet extends AbstractSet<E>
A sensible implementation of Map.entrySet() in terms of the following methods: ForwardingMap.clear(), ForwardingMap.containsKey(java.lang.Object), ForwardingMap.get(java.lang.Object), ForwardingMap.isEmpty(), ForwardingMap.remove(java.lang.Object), and ForwardingMap.size(). In many cases, you may wish to override ForwardingMap.entrySet() to forward to this implementation or a subclass thereof.
| Constructor and Description |
|---|
StandardEntrySet()
Constructor for use by subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(Object o) |
boolean |
isEmpty() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
equals, hashCodeadd, addAll, containsAll, iterator, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, containsAll, iterator, spliterator, toArray, toArrayparallelStream, removeIf, streampublic int size()
public void clear()
public boolean contains(Object o)
public boolean isEmpty()
public boolean remove(Object o)
public boolean removeAll(Collection<?> c)