com.github.tommyettinger.function.ObjIntPredicate Maven / Gradle / Ivy
package com.github.tommyettinger.function;
/**
* Represents an operation that accepts
* two input arguments and returns a {@code boolean} result.
*
* This is a functional interface
* whose functional method is {@link #test(Object, int)}.
*/
@FunctionalInterface
public interface ObjIntPredicate {
/**
* Evaluates this predicate on the given arguments.
*
* @param first the first input argument
* @param second the second input argument
* @return {@code true} if the input arguments match the predicate,
* otherwise {@code false}
*/
boolean test(T first, int second);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy