com.koloboke.function
Interface CharBinaryOperator

All Superinterfaces:
CharCharToCharFunction

public interface CharBinaryOperator
extends CharCharToCharFunction

Represents an operation upon two char-valued operands and producing a char-valued result. This is the primitive type specialization of BinaryOperator for char.

Unlike CharCharToCharFunction, this operator is supposed to accept two homogeneous arguments and produce a result homogeneous to the arguments, e. g. value merging in ObjCharMap.merge(Object, char, CharBinaryOperator) method.

See Also:
BinaryOperator, CharUnaryOperator

Method Summary
 char applyAsChar(char left, char right)
          Applies this operator to the given operands.
 

Method Detail

applyAsChar

char applyAsChar(char left,
                 char right)
Applies this operator to the given operands.

Specified by:
applyAsChar in interface CharCharToCharFunction
Parameters:
left - the first operand
right - the second operand
Returns:
the operator result