Package org.dmfs.jems2.bifunction
Class PairingFunction<Left,Right>
java.lang.Object
org.dmfs.jems2.bifunction.PairingFunction<Left,Right>
- All Implemented Interfaces:
BiFunction<Left,,Right, Pair<Left, Right>> FragileBiFunction<Left,Right, Pair<Left, Right>, RuntimeException>
public final class PairingFunction<Left,Right>
extends Object
implements BiFunction<Left,Right,Pair<Left,Right>>
A
BiFunction that creates a Pair from the two arguments.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <Left,Right>
BiFunction<Left,Right, Pair<Left, Right>> Returns the value of this function at the given arguments.
-
Constructor Details
-
PairingFunction
public PairingFunction()
-
-
Method Details
-
pairingFunction
-
value
Description copied from interface:BiFunctionReturns the value of this function at the given arguments.- Specified by:
valuein interfaceBiFunction<Left,Right, Pair<Left, Right>> - Specified by:
valuein interfaceFragileBiFunction<Left,Right, Pair<Left, Right>, RuntimeException>
-