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