public interface Functor<T, V>
Promise API functor
com.codename1.util.promise.PromiseMethods
public abstract V call(T arg) | Calls the function. |
Method details
call
public abstract V call(T arg)Calls the function.
Parameters
argT- Argument for the function.
Returns
Function return value.