Package org.multiverse.api.functions
Class DoubleFunction
- java.lang.Object
-
- org.multiverse.api.functions.DoubleFunction
-
public abstract class DoubleFunction extends Object implements Function<Double>
AFunctionfor primitives that accepts an argument of type double and returns a new value of the same type.The reason why
DoubleFunctionis an abstract class instead of an ordinary interface, is that this class doesn't cause any unwanted boxing of primitives version of the call method is used instead of the one that accepts and returns a/an Double).This class is generated.
-
-
Constructor Summary
Constructors Constructor Description DoubleFunction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract doublecall(double current)Calculates the new value based on the current value.Doublecall(Double arg)Evaluates the function.
-