com.koloboke.function
Interface ToByteFunction<T>

Type Parameters:
T - the type of the input to the function

public interface ToByteFunction<T>

Represents a function that produces a byte-valued result. This is the byte-producing primitive specialization for Function.

See Also:
Function

Method Summary
 byte applyAsByte(T value)
          Applies this function to the given argument.
 

Method Detail

applyAsByte

byte applyAsByte(T value)
Applies this function to the given argument.

Parameters:
value - the function argument
Returns:
the function result