Class ClosureDoubleBinaryOperator<T extends Number>
java.lang.Object
com.illumon.iris.db.plot.util.functions.SerializableClosure<T>
com.illumon.iris.db.plot.util.functions.ClosureDoubleBinaryOperator<T>
- All Implemented Interfaces:
Serializable
,DoubleBinaryOperator
public class ClosureDoubleBinaryOperator<T extends Number> extends SerializableClosure<T> implements DoubleBinaryOperator
A serializable closure which maps pair of doubles to doubles.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ClosureDoubleBinaryOperator(groovy.lang.Closure<T> closure)
Constructs a ClosureDoubleBinaryOperator instance. -
Method Summary
Modifier and Type Method Description double
applyAsDouble(double left, double right)
-
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
-