Class BasicItemToIdTransformer

    • Constructor Detail

      • BasicItemToIdTransformer

        public BasicItemToIdTransformer()
    • Method Detail

      • transform

        public int transform​(Collection<? extends BasicItem> source,
                             Collection<? super Integer> destination)
        Put the ID of each BasicItem in the source collection into the destination collection.
        Specified by:
        transform in interface CollectionTransformer<BasicItem,​Integer>
        Parameters:
        source - The source collection
        destination - The destination collection
        Returns:
        The number of items added to the destination