public class RemoveAllTransformer<I> extends Object implements CollectionTransformer<I,I>
destination.removeAll(source)
.Constructor and Description |
---|
RemoveAllTransformer() |
Modifier and Type | Method and Description |
---|---|
int |
transform(Collection<? extends I> source,
Collection<? super I> destination)
Remove all elements in the source collection from the destination collection.
|
public int transform(Collection<? extends I> source, Collection<? super I> destination)
transform
in interface CollectionTransformer<I,I>
source
- The source collectiondestination
- The destination collection