Interface UncheckedFunc.Checked<T,R,E extends Throwable>

Type Parameters:
T - Consumer type
R - Return type
E - Error type
Enclosing class:
UncheckedFunc<T,R,E extends Throwable>
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 UncheckedFunc.Checked<T,R,E extends Throwable>
Checked version of consumer.
Since:
0.8
  • Method Summary

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

    • apply

      R apply(T value) throws E
      Apply value.
      Parameters:
      value - Value to accept
      Returns:
      Result
      Throws:
      E - On error