Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
@FunctionalInterface
public interface DoubleToLongFunction
A function of one
double that answers a long.Methods
public abstract long applyAsLong(double value) | Applies this function. |
Method details
applyAsLong
public abstract long applyAsLong(double value)Applies this function.
Parameters
valuedouble- the input
Returns
the result