@FunctionalInterface
public interface CharUnaryOperator
| Modifier and Type | Method and Description |
|---|---|
default CharUnaryOperator |
andThen(CharUnaryOperator after)
Returns a composed function that first applies this function to
its input, and then applies the
after function to the result. |
char |
applyAsChar(char k)
Type Specific get function to reduce boxing/unboxing
|
default CharUnaryOperator |
compose(CharUnaryOperator before)
Returns a composed function that first applies the
before
function to its input, and then applies this function to the result. |
static CharUnaryOperator |
identity()
Creates a Default function that returns the input provided.
|
char applyAsChar(char k)
k - the value that should be processedstatic CharUnaryOperator identity()
default CharUnaryOperator compose(CharUnaryOperator 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 CharUnaryOperator andThen(CharUnaryOperator 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