net.sf.jga.fn.comparison
public class GreaterEqualComp<T> extends AbstractBinaryPredicate<T,T> implements Serializable
Copyright © 2002 David A. Hall
Nested Class Summary | |
---|---|
interface | GreaterEqualComp.Visitor
Interface for classes that may interpret a GreaterEqualComp
predicate. |
Constructor Summary | |
---|---|
GreaterEqualComp(Comparator<T> comp)
Builds the GreaterEqualComp predicate using the given Comparator
|
Method Summary | |
---|---|
void | accept(Visitor v)
Calls the Visitor's visit(GreaterEqualComp) method, if it
implements the nested Visitor interface. |
Comparator<T> | getComparator()
Returns the comparator in use by this predicate |
boolean | p(T x, T y)
Given arguments x and y, return true when the Comparator
determines that x >= y. |
String | toString() |
Throws: IllegalArgumentException if the argument is null
visit(GreaterEqualComp)
method, if it
implements the nested Visitor interface.Returns: the comparator in use by this predicate
Returns: true when the comparator determines that x >= y