org.shapelogic.filter
Class AllFilter<BaseClass,Element>

java.lang.Object
  extended by org.shapelogic.filter.BaseFilter<BaseClass,Element>
      extended by org.shapelogic.filter.AllFilter<BaseClass,Element>
All Implemented Interfaces:
org.apache.commons.collections.Predicate, IFilter<BaseClass,Element>

public class AllFilter<BaseClass,Element>
extends BaseFilter<BaseClass,Element>

Similar to AllPredicate every filter has to be true for this to be true

Author:
Sami Badawi

Field Summary
 
Fields inherited from class org.shapelogic.filter.BaseFilter
_collection, _constraint, _parent
 
Constructor Summary
AllFilter()
           
AllFilter(IFilter<BaseClass,Element>[] filters)
           
 
Method Summary
 boolean evaluate(java.lang.Object arg0)
           
 
Methods inherited from class org.shapelogic.filter.BaseFilter
filter, getCollection, getConstraint, getParent, setCollection, setConstraint, setParent, setup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllFilter

public AllFilter()

AllFilter

public AllFilter(IFilter<BaseClass,Element>[] filters)
Method Detail

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>


Copyright © 2009. All Rights Reserved.