import java.util.ArrayList;
import java.util.List;
-
/**
* Represents a logical and of different boolean conditions.
- *
+ *
* @author Erik Brakkee
- *
- * @param <T> DOCUMENT ME!
+ *
*/
public class AndCondition<T> implements Condition<T> {
- /**
- * DOCUMENT ME!
- */
private List<Condition<T>> conditions;
-/**
+ /**
* Constructs the condition.
- *
+ *
* @param aCondition1
* First condition.
* @param aCondition2
conditions.add(aCondition2);
}
-/**
+ /**
* Constructs the and condition.
- *
+ *
* @param aConditions
* List of conditions to use in the logical and.
*/
/*
* (non-Javadoc)
- *
- * @see org.wamblee.crawler.kiss.ProgramMatcher#matches(org.wamblee.crawler.kiss.Program)
- */
- /**
- * DOCUMENT ME!
- *
- * @param aObject DOCUMENT ME!
- *
- * @return DOCUMENT ME!
+ *
+ * @see
+ * org.wamblee.crawler.kiss.ProgramMatcher#matches(org.wamblee.crawler.kiss
+ * .Program)
*/
public boolean matches(T aObject) {
for (Condition<T> condition : conditions) {