|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.util.AndFilter<T>
public class AndFilter<T>
An aggregate Filter that returns true if each of its members Filters returns true.
Field Summary | |
---|---|
private java.util.List<Filter<T>> |
filters
|
Constructor Summary | |
---|---|
AndFilter(Filter<T>... filters)
|
Method Summary | |
---|---|
boolean |
evaluate(T item)
Evaluates the specified item against all the filters in this filter and returns true if they all pass, otherwise false. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.List<Filter<T>> filters
Constructor Detail |
---|
public AndFilter(Filter<T>... filters)
Method Detail |
---|
public boolean evaluate(T item)
evaluate
in interface Filter<T>
item
- the item to evaluate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |