
io.github.andyalvarez.primitive.function.ToLongIntIntBiFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of primitive Show documentation
Show all versions of primitive Show documentation
Primitive collections framework based on Java Collections API
The newest version!
package io.github.andyalvarez.primitive.function;
import java.util.function.BiFunction;
/**
* Represents a function that accepts two arguments and produces a long-valued
* result. This is the {@code long}-producing primitive specialization for
* {@link BiFunction}.
*
* This is a functional interface
* whose functional method is {@link #applyAsLong(int, int)}.
*
* @see BiFunction
* @since 1.8
*/
@FunctionalInterface
public interface ToLongIntIntBiFunction {
/**
* Applies this function to the given arguments.
*
* @param t the first function argument
* @param u the second function argument
* @return the function result
*/
long applyAsLong(int t, int u);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy