Interface ByteConsumer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface to apply an operation to a single
byte
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(byte value) Apply this operation tovalue
.default ByteConsumer
andThen
(@NotNull ByteConsumer after) Return a composed ByteConsumer that appliesthis
operation followed byafter
.
-
Method Details
-
accept
void accept(byte value) Apply this operation tovalue
.- Parameters:
value
- Thebyte
to operate one
-
andThen
Return a composed ByteConsumer that appliesthis
operation followed byafter
.- Parameters:
after
- The ByteConsumer to apply after applyingthis
- Returns:
- A composed ByteConsumer that applies
this
followed byafter
-