static class FilteredKeyMultimap.AddRejectingList<K,V> extends ForwardingList<V>
Constructor and Description |
---|
AddRejectingList(K key) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
V element) |
boolean |
add(V v) |
boolean |
addAll(java.util.Collection<? extends V> collection) |
boolean |
addAll(int index,
java.util.Collection<? extends V> elements) |
protected java.util.List<V> |
delegate()
Returns the backing delegate instance that methods are forwarded to.
|
equals, get, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set, standardAdd, standardAddAll, standardEquals, standardHashCode, standardIndexOf, standardIterator, standardLastIndexOf, standardListIterator, standardListIterator, standardSubList, subList
clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRemoveAll, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
final K key
AddRejectingList(K key)
public boolean add(V v)
add
in interface java.util.Collection<V>
add
in interface java.util.List<V>
add
in class ForwardingCollection<V>
public void add(int index, V element)
add
in interface java.util.List<V>
add
in class ForwardingList<V>
public boolean addAll(java.util.Collection<? extends V> collection)
addAll
in interface java.util.Collection<V>
addAll
in interface java.util.List<V>
addAll
in class ForwardingCollection<V>
public boolean addAll(int index, java.util.Collection<? extends V> elements)
addAll
in interface java.util.List<V>
addAll
in class ForwardingList<V>
protected java.util.List<V> delegate()
ForwardingObject
ForwardingSet.delegate()
. Concrete subclasses override this method to supply the
instance being decorated.delegate
in class ForwardingList<V>