Interface ByteConsumerWithThrows<T extends Throwable>

Type Parameters:
T - The Throwable that may be thrown by the consumer.
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 ByteConsumerWithThrows<T extends Throwable>
A consumer that accepts a byte.
Since:
1.2
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(byte e)
    Performs this operation.
  • Method Details

    • accept

      void accept(byte e) throws T
      Performs this operation.
      Parameters:
      e - The argument.
      Throws:
      T - If an exception occurs