Interface UncheckedConsumer.Checked<T,E extends Throwable>

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

    Modifier and Type
    Method
    Description
    void
    accept(T value)
    Accept value.
  • Method Details

    • accept

      void accept(T value) throws E
      Accept value.
      Parameters:
      value - Value to accept
      Throws:
      E - On error