Interface SchemaUtils.ThrowingFunction<T,R>

Type Parameters:
T - type of value taken.
R - type of value returned.
Enclosing class:
SchemaUtils
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 SchemaUtils.ThrowingFunction<T,R>
Function that may throw an exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T value)
    Apply containing function.
  • Method Details

    • apply

      R apply(T value) throws Exception
      Apply containing function.
      Parameters:
      value - value to apply function to.
      Returns:
      result of the function.
      Throws:
      Exception - if the function fails.