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