public interface Predicate<T>
extends com.google.common.base.Predicate<T>
Predicate
s like and and or.Modifier and Type | Method and Description |
---|---|
Predicate<T> |
and(Collection<Predicate<T>> predicates)
Create a new
Predicate whose result is the logical "and" of this predicate
and the provided predicates. |
Predicate<T> |
and(Predicate<T>... predicates)
Create a new
Predicate whose result is the logical "and" of this
and the provided predicates. |
double |
getCost()
The cost of applying the predicate.
|
Predicate<T> |
or(Collection<Predicate<T>> predicates)
Create a new
Predicate whose result is the logical "or" of this predicate
and the provided predicates. |
Predicate<T> |
or(Predicate<T>... predicates)
Create a new
Predicate whose result is the logical "or" of this predicate
and the provided predicates. |
Predicate<T> and(Predicate<T>... predicates)
Predicate
whose result is the logical "and" of this
and the provided predicates.Predicate<T> and(Collection<Predicate<T>> predicates)
Predicate
whose result is the logical "and" of this predicate
and the provided predicates.Predicate<T> or(Predicate<T>... predicates)
Predicate
whose result is the logical "or" of this predicate
and the provided predicates.Predicate<T> or(Collection<Predicate<T>> predicates)
Predicate
whose result is the logical "or" of this predicate
and the provided predicates.double getCost()
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.