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