Interface ByteToByteFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A function that accepts a
byte
and returns a byte.- Since:
- 1.2
-
Method Summary
Modifier and TypeMethodDescriptionbyteapply(byte e) Applies the function.static ByteToByteFunctionidentity()Returns thebyteidentity function.
-
Method Details
-
apply
byte apply(byte e) Applies the function.- Parameters:
e- The argument.- Returns:
- The result.
-
identity
Returns thebyteidentity function. The identity function always returns the input argument.- Returns:
- The identity function.
-