Interface Preferences.ThrowingConsumer<T,E extends Throwable>

Type Parameters:
T - The object type to accept
E - The throwable type
Enclosing class:
Preferences
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface private static interface Preferences.ThrowingConsumer<T,E extends Throwable>
A consumer that can throw an exception
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T object)
    Accept an object
  • Method Details

    • accept

      void accept(T object) throws E
      Accept an object
      Parameters:
      object - The object to accept
      Throws:
      E - The exception that can be thrown