diva.compat.util
Class AndFilter

java.lang.Object
  extended by diva.compat.util.AndFilter
All Implemented Interfaces:
Filter

public class AndFilter
extends Object
implements Filter

A composite filter which ANDs two filters together.

Version:
$Revision: 1.1 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu)
See Also:
Filter

Constructor Summary
AndFilter(Filter f1, Filter f2)
           
 
Method Summary
 boolean accept(Object o)
          Test if an object passes the filter, returning true if it does and false if it does not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndFilter

public AndFilter(Filter f1,
                 Filter f2)
Method Detail

accept

public boolean accept(Object o)
Description copied from interface: Filter
Test if an object passes the filter, returning true if it does and false if it does not.

Specified by:
accept in interface Filter


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.