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