public static interface CompositeCollection.CollectionMutator
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(CompositeCollection composite,
java.util.Collection[] collections,
java.lang.Object obj)
Called when an object is to be added to the composite.
|
boolean |
addAll(CompositeCollection composite,
java.util.Collection[] collections,
java.util.Collection coll)
Called when a collection is to be added to the composite.
|
boolean |
remove(CompositeCollection composite,
java.util.Collection[] collections,
java.lang.Object obj)
Called when an object is to be removed to the composite.
|
boolean add(CompositeCollection composite, java.util.Collection[] collections, java.lang.Object obj)
composite - the CompositeCollection being changedcollections - all of the Collection instances in this CompositeCollectionobj - the object being addedjava.lang.UnsupportedOperationException - if add is unsupportedjava.lang.ClassCastException - if the object cannot be added due to its typejava.lang.NullPointerException - if the object cannot be added because its nulljava.lang.IllegalArgumentException - if the object cannot be addedboolean addAll(CompositeCollection composite, java.util.Collection[] collections, java.util.Collection coll)
composite - the CompositeCollection being changedcollections - all of the Collection instances in this CompositeCollectioncoll - the collection being addedjava.lang.UnsupportedOperationException - if add is unsupportedjava.lang.ClassCastException - if the object cannot be added due to its typejava.lang.NullPointerException - if the object cannot be added because its nulljava.lang.IllegalArgumentException - if the object cannot be addedboolean remove(CompositeCollection composite, java.util.Collection[] collections, java.lang.Object obj)
composite - the CompositeCollection being changedcollections - all of the Collection instances in this CompositeCollectionobj - the object being removedjava.lang.UnsupportedOperationException - if removed is unsupportedjava.lang.ClassCastException - if the object cannot be removed due to its typejava.lang.NullPointerException - if the object cannot be removed because its nulljava.lang.IllegalArgumentException - if the object cannot be removedCopyright © 2010 - 2023 Adobe. All Rights Reserved