Package io.deephaven.plot.util.functions
Class ClosureDoubleBinaryOperator<T extends Number>
java.lang.Object
io.deephaven.plot.util.functions.HasClosure<T>
io.deephaven.plot.util.functions.ClosureDoubleBinaryOperator<T>
- All Implemented Interfaces:
DoubleBinaryOperator
public class ClosureDoubleBinaryOperator<T extends Number>
extends HasClosure<T>
implements DoubleBinaryOperator
A serializable closure which maps pair of doubles to doubles.
-
Constructor Summary
ConstructorDescriptionClosureDoubleBinaryOperator
(groovy.lang.Closure<T> closure) Constructs a ClosureDoubleBinaryOperator instance. -
Method Summary
Methods inherited from class io.deephaven.plot.util.functions.HasClosure
getClosure
-
Constructor Details
-
ClosureDoubleBinaryOperator
Constructs a ClosureDoubleBinaryOperator instance.- Parameters:
closure
- closure
-
-
Method Details
-
applyAsDouble
public double applyAsDouble(double left, double right) - Specified by:
applyAsDouble
in interfaceDoubleBinaryOperator
-