|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
R - the record type
public interface Predicate<R>
A predicate is a simple boolean test on a pair of records. Typically, a predicate checks some condition on one or a small number of fields of the records. For example, a predicate might check whether two fields agree exactly or approximately or not at all.
| Method Summary | |
|---|---|
boolean |
evaluate(com.choicemaker.shared.api.CMPair<? extends R> pair)
Deprecated. Evaluates whether a pair of records satisfies this predicate. |
String |
getName()
Deprecated. |
| Method Detail |
|---|
String getName()
boolean evaluate(com.choicemaker.shared.api.CMPair<? extends R> pair)
throws EvaluationException
pair - a non-null pair of records
EvaluationException - if an exception occurs during the evaluation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||