T - the type of the object parameter@FunctionalInterface public interface ObjIntPredicate<T>
int.
This takes two arguments and returns a boolean result.
BiPredicate| Modifier and Type | Method and Description |
|---|---|
default ObjIntPredicate<T> |
and(ObjIntPredicate<? super T> other)
Returns a new predicate that returns true if both predicates return true.
|
default ObjIntPredicate<T> |
negate()
Returns a new predicate that negates the result of this predicate.
|
default ObjIntPredicate<T> |
or(ObjIntPredicate<? super T> other)
Returns a new predicate that returns true if either predicates returns true.
|
boolean |
test(T obj,
int value)
Evaluates the predicate.
|
boolean test(T obj, int value)
obj - the first argumentvalue - the second argumentdefault ObjIntPredicate<T> and(ObjIntPredicate<? super T> other)
The second predicate is only invoked if the first returns true.
other - the second predicateNullPointerException - if the other predicate is nulldefault ObjIntPredicate<T> or(ObjIntPredicate<? super T> other)
The second predicate is only invoked if the first returns false.
other - the second predicateNullPointerException - if the other predicate is nulldefault ObjIntPredicate<T> negate()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.