Class Consumers
java.lang.Object
org.codehaus.commons.compiler.java8.java.util.function.Consumers
Helper methods for the
Consumer
facade.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Consumers
private Consumers()
-
-
Method Details
-
from
- Parameters:
delegate
- Must be ajava.util.Consumer
- Returns:
- A
Consumer
that forwards all invocations ofConsumer.accept(Object)
to the delegate
-
from
- Returns:
- A
java.util.Consumer
that forwards all invocations ofaccept(T)
to the delegate.
-