com.github.tommyettinger.function.ByteShortToByteBiFunction Maven / Gradle / Ivy
package com.github.tommyettinger.function;
/**
* Represents an operation on a {@code byte}-valued operand and a {@code short}-valued
* operand that produces a {@code byte}-valued result.
*
* This is a functional interface whose functional method is {@link #applyAsByte(byte, short)}.
*/
@FunctionalInterface
public interface ByteShortToByteBiFunction {
/**
* Applies this function to the given arguments.
*
* @param first the first function argument
* @param second the second function argument
* @return the function result
*/
byte applyAsByte(byte first, short second);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy