Interface Functor<T,V>


public interface Functor<T,V>
Promise API functor com.codename1.util.promise.Promise
  • Method Summary

    Modifier and Type
    Method
    Description
    call(T arg)
    Calls the function.
  • Method Details

    • call

      V call(T arg)

      Calls the function.

      Parameters
      • arg: Argument for the function.
      Returns

      Function return value.