public class ChildrenTransformer<I extends MeasuredBioMaterial> extends java.lang.Object implements CollectionTransformer<I,I>
Modifier and Type | Field and Description |
---|---|
private boolean |
copySources |
private DbControl |
dc |
private ItemQuery<I> |
query |
Constructor and Description |
---|
ChildrenTransformer(DbControl dc,
boolean copySources,
ItemQuery<I> query) |
private final DbControl dc
private final ItemQuery<I extends MeasuredBioMaterial> query
private final boolean copySources
public int transform(java.util.Collection<? extends I> source, java.util.Collection<? super I> destination)
CollectionTransformer
transform
in interface CollectionTransformer<I extends MeasuredBioMaterial,I extends MeasuredBioMaterial>
source
- The source collectiondestination
- The destination collection