D
- The element type contained in the destination collectionS
- The element type of the source collectionpublic interface CollectionTransformer<S,D>
int transform(java.util.Collection<? extends S> source, java.util.Collection<? super D> destination)
source
- The source collectiondestination
- The destination collection