@Beta protected abstract class ForwardingMap.StandardEntrySet extends AbstractSet<E>
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 |
---|
ForwardingMap.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, hashCode
add, addAll, containsAll, iterator, toArray, toArray, toString
public ForwardingMap.StandardEntrySet()
public int size()
size
in interface Collection<Map.Entry<K,V>>
size
in interface Set<Map.Entry<K,V>>
size
in class AbstractCollection<Map.Entry<K,V>>
public void clear()
clear
in interface Collection<Map.Entry<K,V>>
clear
in interface Set<Map.Entry<K,V>>
clear
in class AbstractCollection<Map.Entry<K,V>>
public boolean contains(Object o)
contains
in interface Collection<Map.Entry<K,V>>
contains
in interface Set<Map.Entry<K,V>>
contains
in class AbstractCollection<Map.Entry<K,V>>
public boolean isEmpty()
isEmpty
in interface Collection<Map.Entry<K,V>>
isEmpty
in interface Set<Map.Entry<K,V>>
isEmpty
in class AbstractCollection<Map.Entry<K,V>>
public boolean remove(Object o)
remove
in interface Collection<Map.Entry<K,V>>
remove
in interface Set<Map.Entry<K,V>>
remove
in class AbstractCollection<Map.Entry<K,V>>
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
Copyright © 2010-2015. All Rights Reserved.