|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--planetj.util.AndFilter
A filter which accepts an item only if both of its subfilters accept the item.
| Field Summary |
| Fields inherited from interface planetj.util.IFilter |
COMPARISON_CONVERSION, CONTAINS, ENDS_WITH, EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, STARTS_WITH |
| Constructor Summary | |
AndFilter(IFilter filter1,
IFilter filter2)
AndFilter constructor |
|
| Method Summary | |
IFilter |
getFilter1()
Gets the first subfilter |
IFilter |
getFilter2()
Gets the second subfilter |
boolean |
meetsCriteria(Object o)
Returns true if the object meets this filter's criteria. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AndFilter(IFilter filter1,
IFilter filter2)
| Method Detail |
public IFilter getFilter1()
public IFilter getFilter2()
public boolean meetsCriteria(Object o)
throws CMException
meetsCriteria in interface IFilterCMException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||