Uses of Interface
zone.lamprey.function.BinaryOperator
| Package | Description |
|---|---|
| zone.lamprey.function |
Functional interfaces provide target types for lambda expressions
and method references.
|
-
Uses of BinaryOperator in zone.lamprey.function
Subinterfaces of BinaryOperator in zone.lamprey.function Modifier and Type Interface Description interfaceDoubleBinaryOperatorRepresents an operation upon twodouble-valued operands and producing adouble-valued result.interfaceIntBinaryOperatorRepresents an operation upon twoint-valued operands and producing anint-valued result.interfaceLongBinaryOperatorRepresents an operation upon twolong-valued operands and producing along-valued result.Methods in zone.lamprey.function that return BinaryOperator Modifier and Type Method Description default BinaryOperator<T>TernaryOperator. applyPartialL(T t)Performs a partial application, resulting in a function that calls this with its argument and the argument given here.default BinaryOperator<T>TernaryOperator. applyPartialM(T u)Performs a partial application, resulting in a function that calls this with its argument and the argument given here.default BinaryOperator<T>TernaryOperator. applyPartialR(T v)Performs a partial application, resulting in a function that calls this with its argument and the argument given here.default BinaryOperator<T>BinaryOperator. map(UnaryOperator<T> functor)Lift a function.static <T> BinaryOperator<T>BinaryOperator. maxBy(Comparator<? super T> comparator)Returns aBinaryOperatorwhich returns the greater of two elements according to the specifiedComparator.static <T> BinaryOperator<T>BinaryOperator. minBy(Comparator<? super T> comparator)Returns aBinaryOperatorwhich returns the lesser of two elements according to the specifiedComparator.