@FunctionalInterface
public interface CharBinaryOperator
extends java.util.function.BinaryOperator<java.lang.Character>, java.util.function.IntBinaryOperator
BinaryOperator; provides methods operating both on objects
and on primitives.BinaryOperator| Modifier and Type | Method and Description |
|---|---|
default java.lang.Character |
apply(java.lang.Character x,
java.lang.Character y)
Deprecated.
Please use the corresponding type-specific method instead.
|
char |
apply(char x,
char y)
Computes the operator on the given inputs.
|
default int |
applyAsInt(int x,
int y)
Deprecated.
Please use
apply(char, char). |
char apply(char x,
char y)
x - the first input.y - the second input.@Deprecated
default int applyAsInt(int x,
int y)
apply(char, char).applyAsInt in interface java.util.function.IntBinaryOperatorjava.lang.IllegalArgumentException - If the given operands are not an element of the key domain.@Deprecated
default java.lang.Character apply(java.lang.Character x,
java.lang.Character y)
apply in interface java.util.function.BiFunction<java.lang.Character,java.lang.Character,java.lang.Character>