Interface Function<T,R>

Type Parameters:
T - the input type
R - the result type

@Incubating public interface Function<T,R>
Backport of Java8 Function. INTERNAL USE ONLY.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T t)
    Applies this function to t.
  • Method Details

    • apply

      R apply(T t)
      Applies this function to t.
      Parameters:
      t - the input
      Returns:
      the result