protected static class AbstractDualBidiMap.KeySet<K> extends AbstractDualBidiMap.View<K,java.lang.Object,K> implements java.util.Set<K>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
Serialization version
|
parent
Modifier | Constructor and Description |
---|---|
protected |
KeySet(AbstractDualBidiMap<K,?> parent)
Constructs a new view of the BidiMap.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.Object key) |
java.util.Iterator<K> |
iterator() |
boolean |
remove(java.lang.Object key) |
clear, equals, hashCode, removeAll, removeIf, retainAll
add, addAll, containsAll, decorated, isEmpty, setCollection, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
private static final long serialVersionUID
protected KeySet(AbstractDualBidiMap<K,?> parent)
parent
- the parent BidiMappublic java.util.Iterator<K> iterator()
public boolean contains(java.lang.Object key)
contains
in interface java.util.Collection<K>
contains
in interface java.util.Set<K>
contains
in class AbstractCollectionDecorator<K>
public boolean remove(java.lang.Object key)
remove
in interface java.util.Collection<K>
remove
in interface java.util.Set<K>
remove
in class AbstractCollectionDecorator<K>