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

Quick Search    Search Deep

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

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

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


Field Summary
private  org.apache.commons.collections.Predicate[] predicates
           
 
Constructor Summary
OrPredicate(org.apache.commons.collections.Predicate[] predicates)
           
OrPredicate(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

OrPredicate

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

OrPredicate

public OrPredicate(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