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

MutableCompositePredicateDecorator

public interface MutableCompositePredicateDecorator
MutableCompositePredicateDecorator decorates existing composite Predicates to support add and removal operations.
version
1.0
author
James Yeh

Fields Summary
Constructors Summary
Methods Summary
public booleanaddPredicate(Predicable aPredicate)

Adds a predicate to the list of evaluations the composite predicate contains

If the predicate already exists in the list, it is not added.

param
aPredicate A predicate
return
False if the predicate already exists in the list

public PredicableremovePredicate(Predicable aPredicate)
Removes a predicate from the list of evaluations the composite predicate contains

param
aPredicate A predicate
return
The predicate that was removed; null if the predicate was not found