private class AbstractBiMap.KeySet extends ForwardingSet<K>
Modifier | Constructor and Description |
---|---|
private |
KeySet() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
protected java.util.Set<K> |
delegate()
Returns the backing delegate instance that methods are forwarded to.
|
java.util.Iterator<K> |
iterator() |
boolean |
remove(java.lang.Object key) |
boolean |
removeAll(java.util.Collection<?> keysToRemove) |
boolean |
retainAll(java.util.Collection<?> keysToRetain) |
equals, hashCode, standardEquals, standardHashCode, standardRemoveAll
add, addAll, contains, containsAll, isEmpty, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected java.util.Set<K> delegate()
ForwardingObject
ForwardingSet.delegate()
. Concrete subclasses override this method to supply the
instance being decorated.delegate
in class ForwardingSet<K>
public void clear()
clear
in interface java.util.Collection<K>
clear
in interface java.util.Set<K>
clear
in class ForwardingCollection<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 ForwardingCollection<K>
public boolean removeAll(java.util.Collection<?> keysToRemove)
removeAll
in interface java.util.Collection<K>
removeAll
in interface java.util.Set<K>
removeAll
in class ForwardingCollection<K>
public boolean retainAll(java.util.Collection<?> keysToRetain)
retainAll
in interface java.util.Collection<K>
retainAll
in interface java.util.Set<K>
retainAll
in class ForwardingCollection<K>