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>,java.lang.RuntimeException>
public final class PairingFunction<Left,Right> extends java.lang.Object implements BiFunction<Left,Right,Pair<Left,Right>>
ABiFunctionthat creates aPairfrom the two arguments.
-
-
Constructor Summary
Constructors Constructor Description PairingFunction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <Left,Right>
BiFunction<Left,Right,Pair<Left,Right>>pairingFunction()Pair<Left,Right>value(Left left, Right right)Returns the value of this function at the given arguments.
-
-
-
Method Detail
-
pairingFunction
public static <Left,Right> BiFunction<Left,Right,Pair<Left,Right>> pairingFunction()
-
-