@FunctionalInterface @Generated(value="Autogenerated by OpenJAX CodeGen Template (0.2.5)", date="2020-05-23") public interface CharUnaryOperator
char
-valued operand that
produces a char
-valued result. This is the primitive type
specialization of UnaryOperator
for char
.UnaryOperator
Modifier and Type | Method and Description |
---|---|
default CharUnaryOperator |
andThen(CharUnaryOperator after)
Returns a composed operator that first applies this operator to its input,
and then applies the
after operator to the result. |
char |
applyAsChar(char operand)
Applies this operator to the given operand.
|
default CharUnaryOperator |
compose(CharUnaryOperator before)
Returns a composed operator that first applies the
before operator
to its input, and then applies this operator to the result. |
static CharUnaryOperator |
identity()
Returns a unary operator that always returns its input argument.
|
char applyAsChar(char operand)
operand
- The operand.default CharUnaryOperator compose(CharUnaryOperator before)
before
operator
to its input, and then applies this operator to the result. If evaluation
of either operator throws an exception, it is relayed to the caller of the
composed operator.before
- The operator to apply before this operator is applied.before
operator
and then applies this operator.NullPointerException
- If before
is null.andThen(CharUnaryOperator)
default CharUnaryOperator andThen(CharUnaryOperator after)
after
operator to the result. If evaluation of
either operator throws an exception, it is relayed to the caller of the
composed operator.after
- The operator to apply after this operator is applied.after
operator.NullPointerException
- If after
is null.compose(CharUnaryOperator)
static CharUnaryOperator identity()
Copyright © 2020 LibJ. All rights reserved.