Class BaseConsumerAdapter<A,T>

java.lang.Object
com.norconex.commons.lang.flow.BaseConsumerAdapter<A,T>
Type Parameters:
A - the adaptee type (the type adapted to a Consumer)
T - the type being consumed by this consumer adapter
All Implemented Interfaces:
FlowConsumerAdapter<T>, Consumer<T>

public abstract class BaseConsumerAdapter<A,T> extends Object implements FlowConsumerAdapter<T>
An abstract FlowConsumerAdapter that takes care setting/getting the adaptee and leaves only the Consumer.accept(Object) method to implement.