All Superinterfaces:
Consumer<Byte>
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 ByteConsumer extends Consumer<Byte>
A functional interface for a Consumer with a primitive byte parameter.
  • Method Details

    • acceptByte

      void acceptByte(byte value)
      Performs this operation on the given argument.
      Parameters:
      value - the input argument
    • accept

      @Deprecated default void accept(Byte value)
      Deprecated.
      Specified by:
      accept in interface Consumer<Byte>
    • andThenByte

      default ByteConsumer andThenByte(ByteConsumer after)
      Parameters:
      after - the operation to perform after this operation
      Returns:
      a composed ByteConsumer that performs in sequence this operation followed by the after operation
    • andThen

      @Deprecated default Consumer<Byte> andThen(Consumer<? super Byte> after)
      Deprecated.
      Specified by:
      andThen in interface Consumer<Byte>