public static interface CompositeSet.SetMutator extends CompositeCollection.CollectionMutator
Defining remove() on implementations of SetMutator is pointless as they are never called by CompositeSet.
Modifier and Type | Method and Description |
---|---|
void |
resolveCollision(CompositeSet comp,
java.util.Set existing,
java.util.Set added,
java.util.Collection intersects)
Called when a Set is added to the CompositeSet and there is a
collision between existing and added sets.
|
add, addAll, remove
void resolveCollision(CompositeSet comp, java.util.Set existing, java.util.Set added, java.util.Collection intersects)
Called when a Set is added to the CompositeSet and there is a collision between existing and added sets.
If added
and existing
still have any intersects
after this method returns an IllegalArgumentException will be thrown.
comp
- The CompositeSet being modifiedexisting
- The Set already existing in the compositeadded
- the Set being added to the compositeintersects
- the intersection of th existing and added setsCopyright © 2010 - 2020 Adobe. All Rights Reserved