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 IntToDoubleFunction

A function of one int that answers a double.

Methods

public abstract double applyAsDouble(int value)Applies this function.

Method details

applyAsDouble

public abstract double applyAsDouble(int value)
Applies this function.

Parameters

value int
the input

Returns

the result