Module methanol

Interface ThrowingBiConsumer<T,​U>


  • public interface ThrowingBiConsumer<T,​U>
    • Method Detail

      • accept

        void accept​(T t,
                    U u)
             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • toUnchecked

        default java.util.function.BiConsumer<T,​U> toUnchecked()
        Converts this consumer to a . If this consumer throws a checked exception, the returned consumer wraps the former in a CompletionException.