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 DoubleFunction<R>

A function of one double; the double form of Function.

Type parameters

<R>
the result type

Methods

public abstract R apply(double value)Applies this function.

Method details

apply

public abstract R apply(double value)
Applies this function.

Parameters

value double
the input

Returns

the result