eTextReader.AnnotationListing
Class GreaterThanPredicate
java.lang.Object
eTextReader.AnnotationListing.GreaterThanPredicate
- All Implemented Interfaces:
- org.apache.commons.collections.Predicate
public class GreaterThanPredicate
- extends java.lang.Object
- implements Predicate
An implementation of the Predicate interface that evaluates to true whenever
the item being compared is greater than a certain bound. The bound must implement
the Comparable interface.
- Author:
- mcfall
Field Summary |
private java.lang.Comparable |
bound
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bound
private java.lang.Comparable bound
GreaterThanPredicate
public GreaterThanPredicate(java.lang.Comparable bound)
evaluate
public boolean evaluate(java.lang.Object arg0)
- Specified by:
evaluate
in interface org.apache.commons.collections.Predicate
getDescription
public java.lang.String getDescription()