public class FieldCriterion extends java.lang.Object implements UnaryPredicate
| Constructor and Description |
|---|
FieldCriterion(java.util.ArrayList fieldsOfInterest,
java.util.Map fieldValues)
Creates a new FieldCriterion that checks to see if all the fields of
interest in the examined object match those in the provided Map.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(java.lang.Object victim)
Evaluate if an object suits this criterion.
|
public FieldCriterion(java.util.ArrayList fieldsOfInterest,
java.util.Map fieldValues)
public boolean execute(java.lang.Object victim)
execute in interface UnaryPredicate