net.sf.jga.fn.comparison
public class Greater<T extends Comparable> extends AbstractBinaryPredicate<T,T> implements Serializable
Copyright © 2002 David A. Hall
Nested Class Summary | |
---|---|
interface | Greater.Visitor
Interface for classes that may interpret a Greater predicate. |
Method Summary | |
---|---|
void | accept(Visitor v)
Calls the Visitor's visit(Greater) method, if it
implements the nested Visitor interface. |
boolean | p(T x, T y)
Given Comparable arguments x and y, returns x > y.
|
String | toString() |
visit(Greater)
method, if it
implements the nested Visitor interface.Returns: x > y
Throws: NullPointerException if either argument is null