com.koloboke.function
Interface ByteByteToByteFunction

All Known Subinterfaces:
ByteBinaryOperator

public interface ByteByteToByteFunction

Represents a function that accepts two byte-valued arguments and produces a byte-valued result. This is the (byte, byte, byte) specialization of BiFunction.

Unlike ByteBinaryOperator, this function is supposed to accept heterogeneous arguments, e. g. key and value in ByteByteMap.compute(byte, ByteByteToByteFunction) method.

See Also:
BiFunction

Method Summary
 byte applyAsByte(byte a, byte b)
          Applies this function to the given arguments.
 

Method Detail

applyAsByte

byte applyAsByte(byte a,
                 byte b)
Applies this function to the given arguments.

Parameters:
a - the first function argument
b - the second function argument
Returns:
the function result