Package org.dmfs.jems2.bifunction
Class DelegatingBiFunction<Left,Right,Result>
- java.lang.Object
-
- org.dmfs.jems2.bifunction.DelegatingBiFunction<Left,Right,Result>
-
- All Implemented Interfaces:
BiFunction<Left,Right,Result>,FragileBiFunction<Left,Right,Result,java.lang.RuntimeException>
- Direct Known Subclasses:
By
public abstract class DelegatingBiFunction<Left,Right,Result> extends java.lang.Object implements BiFunction<Left,Right,Result>
An abstractBiFunctionwhich delegates to another givenBiFunction.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDelegatingBiFunction(BiFunction<Left,Right,Result> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resultvalue(Left left, Right right)Returns the value of this function at the given arguments.
-
-
-
Constructor Detail
-
DelegatingBiFunction
protected DelegatingBiFunction(BiFunction<Left,Right,Result> delegate)
-
-
Method Detail
-
value
public final Result value(Left left, Right right)
Description copied from interface:BiFunctionReturns the value of this function at the given arguments.- Specified by:
valuein interfaceBiFunction<Left,Right,Result>- Specified by:
valuein interfaceFragileBiFunction<Left,Right,Result,java.lang.RuntimeException>
-
-