Class Composite<T>

java.lang.Object
org.dmfs.jems2.procedure.Composite<T>
All Implemented Interfaces:
FragileProcedure<T,RuntimeException>, Procedure<T>

public final class Composite<T> extends Object implements Procedure<T>
A Procedure composed of other procedures.

Example


 new Composite(System.out::println, Logger::info).process("log message");
 
Prints "log message" to the console and to the log.