com.townleyenterprises.filter
Class LogicalAndFilter

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

public class LogicalAndFilter
extends LogicalFilter

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

Version:
$Id: LogicalAndFilter.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
LogicalAndFilter()
           
 
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

LogicalAndFilter

public LogicalAndFilter()
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.