drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Condition.java
public boolean contains(ConditionTerm term) {
        // iterate through the factors looking for a match
        boolean match = false;
        Enumeration terms = getConditionTerms();
        while (!match && terms.hasMoreElements()) {
            ConditionTerm t = (ConditionTerm) terms.nextElement();
            match = term.matches(t);
        }
        return match;
    }
public boolean contains(ConditionTerm term) {
        // iterate through the factors looking for a match
        boolean match = false;
        Enumeration terms = getConditionTerms();
        while (!match && terms.hasMoreElements()) {
            ConditionTerm t = (ConditionTerm) terms.nextElement();
            match = term.matches(t);
        }
        return match;
    }
public boolean contains ( ConditionTerm term ) { // iterate through the factors looking for a match boolean match = false ; Enumeration terms = getConditionTerms ( ) ; while ( ! match && terms . hasMoreElements ( ) ) { ConditionTerm t = ( ConditionTerm ) terms . nextElement ( ) ; match = term . matches ( t ) ; } return match ; }
Does this Condition contain the given ConditionTerm?

@param term the term to check for
@return true if the condition contains the given term, false otherwise
Does this Condition contain the given ConditionTerm?