public class BasicItemToIdTransformer extends Object implements CollectionTransformer<BasicItem,Integer>
BasicItem
:s.Constructor and Description |
---|
BasicItemToIdTransformer() |
Modifier and Type | Method and Description |
---|---|
int |
transform(Collection<? extends BasicItem> source,
Collection<? super Integer> destination)
Put the ID of each BasicItem in the source collection into the
destination collection.
|
public int transform(Collection<? extends BasicItem> source, Collection<? super Integer> destination)
transform
in interface CollectionTransformer<BasicItem,Integer>
source
- The source collectiondestination
- The destination collection