org.shapelogic.filter
Class NotFilter<BaseClass,Element>
java.lang.Object
org.shapelogic.filter.BaseFilter<BaseClass,Element>
org.shapelogic.filter.NotFilter<BaseClass,Element>
- All Implemented Interfaces:
- org.apache.commons.collections.Predicate, IFilter<BaseClass,Element>
public class NotFilter<BaseClass,Element>
- extends BaseFilter<BaseClass,Element>
Similar to NotPredicate filter has to be false for this to be true
- Author:
- Sami Badawi
Method Summary |
boolean |
evaluate(java.lang.Object arg0)
|
void |
setup()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_filter1
protected IFilter<BaseClass,Element> _filter1
NotFilter
public NotFilter()
NotFilter
public NotFilter(IFilter<BaseClass,Element> filter1)
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
Copyright © 2009. All Rights Reserved.