blob: 3cff0dd6c23cf3b9b8e45c2fc67f1e1cc4f245f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package com.github.markozajc.ef.tripredicate;
/**
* A variant of {@link TriPredicate} that takes two generic types and a primitive
* int.
*
* @param <T>
* the type of the first argument to the predicate
* @param <U>
* the type of the second argument to the predicate
*
* @author Marko Zajc
*/
public interface ObjObjIntPredicate<T, U> {
/**
* Evaluates this predicate on the given arguments.
*
* @param t
* the first input argument
* @param u
* the second input argument
* @param p
* the second ({@code int}) input argument
*
* @return {@code true} if the input arguments match the predicate, otherwise
* {@code false}
*/
boolean test(T t, U u, int p);
}
|