D
- The element type contained in the destination collectionS
- The element type of the source collectionpublic interface CollectionTransformer<S,D>
Modifier and Type | Method and Description |
---|---|
int |
transform(java.util.Collection<? extends S> source,
java.util.Collection<? super D> destination)
Transform the source collection and store the changes in the
destination collection.
|
int transform(java.util.Collection<? extends S> source, java.util.Collection<? super D> destination)
source
- The source collectiondestination
- The destination collection