Class AbstractMultiValuedMap.WrappedCollection

java.lang.Object
org.apache.commons.collections4.multimap.AbstractMultiValuedMap.WrappedCollection
All Implemented Interfaces:
Iterable<V>, Collection<V>
Direct Known Subclasses:
AbstractListValuedMap.WrappedList, AbstractSetValuedMap.WrappedSet
Enclosing class:
AbstractMultiValuedMap<K,V>

class AbstractMultiValuedMap.WrappedCollection extends Object implements Collection<V>
Wrapped collection to handle add and remove on the collection returned by get(object).

Currently, the wrapped collection is not cached and has to be retrieved from the underlying map. This is safe, but not very efficient and should be improved in subsequent releases. For this purpose, the scope of this collection is set to package private to simplify later refactoring.