Interface ByteConsumer
- All Superinterfaces:
IntConsumer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(byte b) default void
accept
(int value) default ByteConsumer
andThen
(ByteConsumer after) default ByteConsumer
andThen
(IntConsumer after)
-
Method Details
-
accept
void accept(byte b) -
accept
default void accept(int value) - Specified by:
accept
in interfaceIntConsumer
-
andThen
-
andThen
- Specified by:
andThen
in interfaceIntConsumer
-