- All Superinterfaces:
- Enclosing class:
@Deprecated(since="2021-04-30") public static interface CompositeSet.SetMutator extends CompositeCollection.CollectionMutatorDeprecated.Commons Collections 3 is in maintenance mode. Commons Collections 4 should be used instead.Define callbacks for mutation operations.
Defining remove() on implementations of SetMutator is pointless as they are never called by CompositeSet.
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description
resolveCollision(CompositeSet comp, Set existing, Set added, Collection intersects)Deprecated.Called when a Set is added to the CompositeSet and there is a collision between existing and added sets.
void resolveCollision(CompositeSet comp, Set existing, Set added, Collection intersects)Deprecated.
existingstill have any intersects after this method returns an IllegalArgumentException will be thrown.
comp- The CompositeSet being modified
existing- The Set already existing in the composite
added- the Set being added to the composite
intersects- the intersection of th existing and added sets