Package bm.util

Interface ConsumeOrThrow.CoT<T,E extends Exception>

Type Parameters:
T - type of value consumed
E - type of exception thrown
Enclosing interface:
ConsumeOrThrow<T>

public static interface ConsumeOrThrow.CoT<T,E extends Exception>
A Consumer which may throw any type of Exception.
  • Method Summary

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

    • accept

      void accept(T value) throws E
      Throws:
      E