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