public class AddAllTransformer<I> extends java.lang.Object implements CollectionTransformer<I,I>
destination.addAll(source)
.Constructor and Description |
---|
AddAllTransformer() |
Modifier and Type | Method and Description |
---|---|
int |
transform(java.util.Collection<? extends I> source,
java.util.Collection<? super I> destination)
Add all elements of the source collection to the destination collection.
|
public int transform(java.util.Collection<? extends I> source, java.util.Collection<? super I> destination)
transform
in interface CollectionTransformer<I,I>
source
- The source collectiondestination
- The destination collection