eTextReader.AnnotationListing
Class EqualityPredicate
java.lang.Object
eTextReader.AnnotationListing.EqualityPredicate
- All Implemented Interfaces:
- org.apache.commons.collections.Predicate
public class EqualityPredicate
- extends java.lang.Object
- implements Predicate
Implements a simple equality predicate, where an object matches the predicate
based on the results of comparison using the .equals method
- Author:
- mcfall
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
expectedValue
private java.lang.Object expectedValue
EqualityPredicate
public EqualityPredicate(java.lang.Object expectedValue)
evaluate
public boolean evaluate(java.lang.Object arg0)
- Specified by:
evaluate
in interface org.apache.commons.collections.Predicate
getDescription
public java.lang.String getDescription()