Interface XCompletionStageUtils.CheckedFunction<T,R>

Type Parameters:
T - Type of the function's argument.
R - Type of the function's return value.
Enclosing class:
XCompletionStageUtils

public static interface XCompletionStageUtils.CheckedFunction<T,R>
A Function which may throw a checked exception.
Since:
8.0.0
Author:
XIMA MEDIA GmbH
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T value)
     
  • Method Details

    • apply

      R apply(T value) throws Exception
      Parameters:
      value - The function's argument.
      Returns:
      The function's return value.
      Throws:
      Exception - A checked exception when the function fails.