org.shapelogic.filter
Class OrFilter<BaseClass,Element>
java.lang.Object
org.shapelogic.filter.BaseFilter<BaseClass,Element>
org.shapelogic.filter.OrFilter<BaseClass,Element>
- All Implemented Interfaces:
- org.apache.commons.collections.Predicate, IFilter<BaseClass,Element>
public class OrFilter<BaseClass,Element>
- extends BaseFilter<BaseClass,Element>
Similar to OrPredicate 1 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
OrFilter
public OrFilter()
OrFilter
public OrFilter(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.