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:
-
Constructor Summary
ConstructorsConstructorDescriptionClosureDoubleUnaryOperator
(groovy.lang.Closure<T> closure) Constructs a ClosureDoubleUnaryOperator instance. -
Method Summary
Methods inherited from class com.illumon.iris.db.plot.util.functions.SerializableClosure
getClosure
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.DoubleUnaryOperator
andThen, compose
-
Constructor Details
-
ClosureDoubleUnaryOperator
Constructs a ClosureDoubleUnaryOperator instance.- Parameters:
closure
- closure
-
-
Method Details
-
applyAsDouble
public double applyAsDouble(double operand) - Specified by:
applyAsDouble
in interfaceDoubleUnaryOperator
-