FileDocCategorySizeDatePackage
NotPredicate.javaAPI DocAzureus 3.0.3.41528Thu Feb 09 19:43:02 GMT 2006org.gudy.azureus2.core3.predicate

NotPredicate

public final class NotPredicate extends Object implements Predicable
A NotPredicate decorates an existing Predicable to return the negative result of the evaluation
version
1.0

Fields Summary
private Predicable
ref
Constructors Summary
public NotPredicate(Predicable toEvaluate)
Creates a NotPredicate

param
toEvaluate A predicable to evaluate the "Not" from

        this.ref = toEvaluate;
    
Methods Summary
public booleanevaluate(java.lang.Object obj)
{@inheritDoc}

        return !ref.evaluate(obj);