| net.sf.jga.fn.logical.BinaryNegate
BinaryNegate | public class BinaryNegate extends BinaryPredicate (Code) | | Binary Predicate that logically negates the result of a child predicate.
Returns true when child predicate p returns false given object
arguments x and y.
Copyright © 2002-2005 David A. Hall
author: David A. Hall |
Method Summary | |
public void | accept(net.sf.jga.fn.Visitor v) Calls the Visitor's visit(UnaryNegate) method, if it
implements the nested Visitor interface. | public Boolean | fn(T1 x, T2 y) Given arguments x and y, returns true when child
predicate p returns false for x and y, otherwise returns true. | public BinaryFunctor<? super T1, ? super T2, Boolean> | getPredicate() Returns the child predicate. | public String | toString() |
serialVersionUID | final static long serialVersionUID(Code) | | |
accept | public void accept(net.sf.jga.fn.Visitor v)(Code) | | Calls the Visitor's visit(UnaryNegate) method, if it
implements the nested Visitor interface.
|
fn | public Boolean fn(T1 x, T2 y)(Code) | | Given arguments x and y, returns true when child
predicate p returns false for x and y, otherwise returns true.
!(p.p(x,y)) |
getPredicate | public BinaryFunctor<? super T1, ? super T2, Boolean> getPredicate()(Code) | | Returns the child predicate.
the child predicate. |
|
|