@FunctionalInterface public interface CbComponent<T> extends SerializableLambda
Modifier and Type | Method and Description |
---|---|
void |
accept(T instance,
Component component)
Handles the given arguments.
|
default CbComponent<T> |
andThen(CbComponent<? super T> after) |
void accept(T instance, Component component)
instance
- the Component implementation class instance on which the callback is invoked on.component
- the callback parameterdefault CbComponent<T> andThen(CbComponent<? super T> after)