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