com.townleyenterprises.filter
Class LogicalOrFilter

java.lang.Object
  extended bycom.townleyenterprises.filter.LogicalFilter
      extended bycom.townleyenterprises.filter.LogicalOrFilter
All Implemented Interfaces:
Filter

public class LogicalOrFilter
extends LogicalFilter

This class provides an implementation of the Filter interface that implements the OR conjunction.

Version:
$Id: LogicalOrFilter.java,v 1.4 2004/07/28 10:33:58 atownley Exp $
Author:
Andrew S. Townley

Field Summary
 
Fields inherited from class com.townleyenterprises.filter.LogicalFilter
_filters
 
Constructor Summary
LogicalOrFilter()
           
 
Method Summary
 boolean doFilter(java.lang.Object o)
          This method actually performs the operation that will determine if the parameter object should be included in the "result" or not.
 
Methods inherited from class com.townleyenterprises.filter.LogicalFilter
addFilter, clear, getFilterCount, iterator, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogicalOrFilter

public LogicalOrFilter()
Method Detail

doFilter

public boolean doFilter(java.lang.Object o)
This method actually performs the operation that will determine if the parameter object should be included in the "result" or not.

Specified by:
doFilter in interface Filter
Specified by:
doFilter in class LogicalFilter
Parameters:
o - the object to be tested
Returns:
true if the object should be included in the result; false if the object should not


Copyright © 2002-2004, Andrew S. Townley and Townley Enterprises. All Rights Reserved.
This project is hosted on http://te-code.sourceforge.net.