org.shapelogic.filter
Class AndFilter<BaseClass,Element>
java.lang.Object
org.shapelogic.filter.BaseFilter<BaseClass,Element>
org.shapelogic.filter.AndFilter<BaseClass,Element>
- All Implemented Interfaces:
- org.apache.commons.collections.Predicate, IFilter<BaseClass,Element>
public class AndFilter<BaseClass,Element>
- extends BaseFilter<BaseClass,Element>
Similar to AndPredicate every filter has to be true for this to be true
- Author:
- Sami Badawi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_filter1
protected IFilter<BaseClass,Element> _filter1
_filter2
protected IFilter<BaseClass,Element> _filter2
AndFilter
public AndFilter()
AndFilter
public AndFilter(IFilter<BaseClass,Element> filter1,
IFilter<BaseClass,Element> filter2)
evaluate
public boolean evaluate(java.lang.Object arg0)
- Specified by:
evaluate
in interface org.apache.commons.collections.Predicate
- Specified by:
evaluate
in class BaseFilter<BaseClass,Element>
setup
public void setup()
throws java.lang.Exception
- Specified by:
setup
in interface IFilter<BaseClass,Element>
- Overrides:
setup
in class BaseFilter<BaseClass,Element>
- Throws:
java.lang.Exception
setParent
public void setParent(BaseClass parent)
- Specified by:
setParent
in interface IFilter<BaseClass,Element>
- Overrides:
setParent
in class BaseFilter<BaseClass,Element>
Copyright © 2009. All Rights Reserved.