public interface Functor<T, V>

Promise API functor com.codename1.util.promise.Promise

Methods

public abstract V call(T arg)Calls the function.

Method details

call

public abstract V call(T arg)
Calls the function.

Parameters

arg T
Argument for the function.

Returns

Function return value.