Interface YamlTest.IOFunction<P,R>

Type Parameters:
P - the type of the input to the operations.
R - the return type of the operations.
Enclosing class:
YamlTest
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 static interface YamlTest.IOFunction<P,R>
Like Function but throws IOException.
Since:
2.7
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(P param)
    Applies this function to the given argument.
  • Method Details

    • apply

      R apply(P param) throws IOException
      Applies this function to the given argument.
      Parameters:
      t - the function argument
      Returns:
      the function result
      Throws:
      IOException - if an I/O error occurs.