Package org.multiverse.api.functions
Class Functions.IdentityDoubleFunction
- java.lang.Object
-
- org.multiverse.api.functions.DoubleFunction
-
- org.multiverse.api.functions.Functions.IdentityDoubleFunction
-
- All Implemented Interfaces:
Function<java.lang.Double>
- Enclosing class:
- Functions
private static class Functions.IdentityDoubleFunction extends DoubleFunction
-
-
Constructor Summary
Constructors Modifier Constructor Description privateIdentityDoubleFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublecall(double current)Calculates the new value based on the current value.java.lang.StringtoString()-
Methods inherited from class org.multiverse.api.functions.DoubleFunction
call
-
-
-
-
Method Detail
-
call
public double call(double current)
Description copied from class:DoubleFunctionCalculates the new value based on the current value.- Specified by:
callin classDoubleFunction- Parameters:
current- the current value.- Returns:
- the new value.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-