Interface Function<A,​R>

Type Parameters:
R - the return type
A - the argument type

public interface Function<A,​R>
A basic rip-off of Function from Java 8.
  • Method Summary

    Modifier and Type Method Description
    R apply​(A arg)  
  • Method Details

    • apply

      R apply​(A arg)
      Parameters:
      arg - the argument
      Returns:
      the return value