com.github.tommyettinger.function.DoubleDoubleToIntBiFunction Maven / Gradle / Ivy
package com.github.tommyettinger.function;
/**
* Represents an operation on a {@code double}-valued operand and a {@code double}-valued
* operand that produces a {@code int}-valued result.
*
* This is a functional interface whose functional method is {@link #applyAsInt(double, double)}.
*/
@FunctionalInterface
public interface DoubleDoubleToIntBiFunction {
/**
* 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(double first, double second);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy