@FunctionalInterface
public interface ByteUnaryOperator
| Modifier and Type | Method and Description |
|---|---|
default ByteUnaryOperator |
andThen(ByteUnaryOperator after)
Returns a composed function that first applies this function to
its input, and then applies the
after function to the result. |
byte |
applyAsByte(byte k)
Type Specific get function to reduce boxing/unboxing
|
default ByteUnaryOperator |
compose(ByteUnaryOperator before)
Returns a composed function that first applies the
before
function to its input, and then applies this function to the result. |
static ByteUnaryOperator |
identity()
Creates a Default function that returns the input provided.
|
byte applyAsByte(byte k)
k - the value that should be processedstatic ByteUnaryOperator identity()
default ByteUnaryOperator compose(ByteUnaryOperator before)
before
function to its input, and then applies this function to the result.
If evaluation of either function throws an exception, it is relayed to
the caller of the composed function.before - the function that should be used firstdefault ByteUnaryOperator andThen(ByteUnaryOperator after)
after function to the result.
If evaluation of either function throws an exception, it is relayed to
the caller of the composed function.after - the function that should be used last