Comparison(String value) Construct a new Comparison with the specified value.
Method Summary
public boolean
evaluate(int comparisonResult) Evaluate a comparison result as from Comparator.compare() or Comparable.compareTo().
Parameters: comparisonResult - the result to evaluate.
Construct a new Comparison with the specified value.
Parameters: value - the EnumeratedAttribute value.
Method Detail
evaluate
public boolean evaluate(int comparisonResult)(Code)
Evaluate a comparison result as from Comparator.compare() or Comparable.compareTo().
Parameters: comparisonResult - the result to evaluate. true if the comparison result fell within the parameters of this Comparison.