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