
com.github.tommyettinger.function.LongIntToIntBiFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of funderby Show documentation
Show all versions of funderby Show documentation
Java 8+ functional interfaces for primitive types
The newest version!
package com.github.tommyettinger.function;
/**
* Represents an operation on a {@code long}-valued operand and a {@code int}-valued
* operand that produces a {@code int}-valued result.
*
* This is a functional interface whose functional method is {@link #applyAsInt(long, int)}.
*/
@FunctionalInterface
public interface LongIntToIntBiFunction {
/**
* Applies this function to the given arguments.
*
* @param first the first function argument
* @param second the second function argument
* @return the function result
*/
int applyAsInt(long first, int second);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy