Package arez

Interface Function<T>

Type Parameters:
T - The type of the returned value.
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Function<T>
Functional interface for returning a value.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a value.
  • Method Details

    • call

      T call() throws Throwable
      Return a value.
      Returns:
      the value generated by function.
      Throws:
      Throwable - if unable to return value.