org.apache.commons.collections.collection.CompositeCollection.CollectionMutator |
Known Indirect Subclasses
|
Class Overview
Pluggable strategy to handle changes to the composite.
Public Methods
Called when an object is to be added to the composite.
Parameters
composite
| the CompositeCollection being changed |
collections
| all of the Collection instances in this CompositeCollection |
obj
| the object being added |
Returns
- true if the collection is changed
Called when a collection is to be added to the composite.
Parameters
composite
| the CompositeCollection being changed |
collections
| all of the Collection instances in this CompositeCollection |
coll
| the collection being added |
Returns
- true if the collection is changed
Called when an object is to be removed to the composite.
Parameters
composite
| the CompositeCollection being changed |
collections
| all of the Collection instances in this CompositeCollection |
obj
| the object being removed |
Returns
- true if the collection is changed