Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.objectstyle.ashwood.predicate
Class AndPredicate  view AndPredicate download AndPredicate.java

java.lang.Object
  extended byorg.objectstyle.ashwood.predicate.AndPredicate
All Implemented Interfaces:
org.apache.commons.collections.Predicate

public class AndPredicate
extends java.lang.Object
implements org.apache.commons.collections.Predicate


Field Summary
private  org.apache.commons.collections.Predicate[] predicates
           
 
Constructor Summary
AndPredicate(org.apache.commons.collections.Predicate[] predicates)
           
AndPredicate(org.apache.commons.collections.Predicate predicate1, org.apache.commons.collections.Predicate predicate2)
           
 
Method Summary
 boolean evaluate(java.lang.Object parameter)
          Returns true if the input object matches this predicate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

predicates

private org.apache.commons.collections.Predicate[] predicates
Constructor Detail

AndPredicate

public AndPredicate(org.apache.commons.collections.Predicate predicate1,
                    org.apache.commons.collections.Predicate predicate2)

AndPredicate

public AndPredicate(org.apache.commons.collections.Predicate[] predicates)
Method Detail

evaluate

public boolean evaluate(java.lang.Object parameter)
Description copied from interface: org.apache.commons.collections.Predicate
Returns true if the input object matches this predicate.

Specified by:
evaluate in interface org.apache.commons.collections.Predicate