Package org.multiverse.api.functions
Class Functions.IdentityDoubleFunction
java.lang.Object
org.multiverse.api.functions.DoubleFunction
org.multiverse.api.functions.Functions.IdentityDoubleFunction
- Enclosing class:
- Functions
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.multiverse.api.functions.DoubleFunction
call
-
Constructor Details
-
IdentityDoubleFunction
private IdentityDoubleFunction()
-
-
Method Details
-
call
public double call(double current) Description copied from class:DoubleFunction
Calculates the new value based on the current value.- Specified by:
call
in classDoubleFunction
- Parameters:
current
- the current value.- Returns:
- the new value.
-
toString
-