Package com.google.common.collect
Class FilteredKeyMultimap.AddRejectingList<K,V>
java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingCollection<V>
com.google.common.collect.ForwardingList<V>
com.google.common.collect.FilteredKeyMultimap.AddRejectingList<K,V>
- All Implemented Interfaces:
Iterable<V>
,Collection<V>
,List<V>
,SequencedCollection<V>
- Enclosing class:
FilteredKeyMultimap<K,
V>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.collect.ForwardingList
equals, get, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set, standardAdd, standardAddAll, standardEquals, standardHashCode, standardIndexOf, standardIterator, standardLastIndexOf, standardListIterator, standardListIterator, standardSubList, subList
Methods inherited from class com.google.common.collect.ForwardingCollection
clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRemoveAll, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
Methods inherited from class com.google.common.collect.ForwardingObject
toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
addFirst, addLast, clear, contains, containsAll, getFirst, getLast, isEmpty, iterator, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, size, sort, spliterator, toArray, toArray
-
Field Details
-
key
-
-
Constructor Details
-
AddRejectingList
AddRejectingList(K key)
-
-
Method Details
-
add
- Specified by:
add
in interfaceCollection<K>
- Specified by:
add
in interfaceList<K>
- Overrides:
add
in classForwardingCollection<V>
-
add
-
addAll
- Specified by:
addAll
in interfaceCollection<K>
- Specified by:
addAll
in interfaceList<K>
- Overrides:
addAll
in classForwardingCollection<V>
-
addAll
-
delegate
Description copied from class:ForwardingObject
Returns the backing delegate instance that methods are forwarded to. Abstract subclasses generally override this method with an abstract method that has a more specific return type, such asForwardingSet.delegate()
. Concrete subclasses override this method to supply the instance being decorated.- Specified by:
delegate
in classForwardingList<V>
-