Package org.dmfs.jems2.biprocedure
Class DelegatingBiProcedure<Argument1,Argument2>
- java.lang.Object
-
- org.dmfs.jems2.biprocedure.DelegatingBiProcedure<Argument1,Argument2>
-
- All Implemented Interfaces:
BiProcedure<Argument1,Argument2>,FragileBiProcedure<Argument1,Argument2,java.lang.RuntimeException>
public abstract class DelegatingBiProcedure<Argument1,Argument2> extends java.lang.Object implements BiProcedure<Argument1,Argument2>
An abstractBiProcedurewhich delegates to anotherBiProcedure.
-
-
Constructor Summary
Constructors Constructor Description DelegatingBiProcedure(BiProcedure<Argument1,Argument2> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(Argument1 arg1, Argument2 arg2)Executes the procedure with the given arguments.
-
-
-
Constructor Detail
-
DelegatingBiProcedure
public DelegatingBiProcedure(BiProcedure<Argument1,Argument2> delegate)
-
-
Method Detail
-
process
public final void process(Argument1 arg1, Argument2 arg2)
Description copied from interface:BiProcedureExecutes the procedure with the given arguments.- Specified by:
processin interfaceBiProcedure<Argument1,Argument2>- Specified by:
processin interfaceFragileBiProcedure<Argument1,Argument2,java.lang.RuntimeException>
-
-