public class AddAllTransformer<I> extends Object implements CollectionTransformer<I,I>
destination.addAll(source)
.Constructor and Description |
---|
AddAllTransformer() |
Modifier and Type | Method and Description |
---|---|
int |
transform(Collection<? extends I> source,
Collection<? super I> destination)
Add all elements of the source collection to 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