Interface CheckedConsumer<T,E extends Exception>

All Known Implementing Classes:
JLineBuiltinCommandsProcessor
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 interface CheckedConsumer<T,E extends Exception>
Consumer-like functional interface which can throw a checked exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T input)
     
  • Method Details

    • accept

      void accept(T input) throws E
      Throws:
      E