Class ClosureDoubleUnaryOperator<T extends Number>
java.lang.Object
com.illumon.iris.db.plot.util.functions.SerializableClosure<T>
com.illumon.iris.db.plot.util.functions.ClosureDoubleUnaryOperator<T>
- All Implemented Interfaces:
Serializable
,DoubleUnaryOperator
public class ClosureDoubleUnaryOperator<T extends Number> extends SerializableClosure<T> implements DoubleUnaryOperator
A serializable closure which maps doubles to doubles.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ClosureDoubleUnaryOperator(groovy.lang.Closure<T> closure)
Constructs a ClosureDoubleUnaryOperator instance. -
Method Summary
Modifier and Type Method Description double
applyAsDouble(double operand)
-
Constructor Details
-
ClosureDoubleUnaryOperator
Constructs a ClosureDoubleUnaryOperator instance.- Parameters:
closure
- closure
-
-
Method Details
-
applyAsDouble
public double applyAsDouble(double operand)- Specified by:
applyAsDouble
in interfaceDoubleUnaryOperator
-