T - - Generic parameterpublic class DescribedPredicateEvaluator<T> extends Object
| Constructor and Description |
|---|
DescribedPredicateEvaluator(Function<T,EvaluationResult<T>> predicateEvaluator,
String description) |
| Modifier and Type | Method and Description |
|---|---|
DescribedPredicateEvaluator<T> |
and(DescribedPredicateEvaluator<T> other)
Combines this predicate with another on conjunctively
|
EvaluationResult<T> |
evaluate(T value) |
String |
getDescription()
Predicate description used to generate rule descriptions.
|
DescribedPredicateEvaluator<T> |
inverse()
Inverses this predicate.
|
DescribedPredicateEvaluator<T> |
or(DescribedPredicateEvaluator<T> other)
Combines this predicate with another on disjunctively
|
public DescribedPredicateEvaluator(Function<T,EvaluationResult<T>> predicateEvaluator, String description)
public EvaluationResult<T> evaluate(T value)
public String getDescription()
public DescribedPredicateEvaluator<T> or(DescribedPredicateEvaluator<T> other)
other - Other predicatepublic DescribedPredicateEvaluator<T> and(DescribedPredicateEvaluator<T> other)
other - Other predicatepublic DescribedPredicateEvaluator<T> inverse()
Copyright © 2019 viadee Unternehmensberatung AG. All rights reserved.