Class GenericImageConsumer<I,​I2,​T>

  • Type Parameters:
    I - Input type of this generic image consumer
    I2 - Input type of the wrapped image consumer
    T - type of the secondary consumed class
    All Implemented Interfaces:
    BiConsumer<ImageWrapper<I>,​T>

    public class GenericImageConsumer<I,​I2,​T>
    extends Object
    implements BiConsumer<ImageWrapper<I>,​T>

    Generic image consumer that applies a wrapped consumer to a given image

    Note: The GenericImageConsumer converts the input image if necessary, and for this effects the performance because of the required copy operation.

    Since:
    1.1
    Author:
    Christoph Praschl