diva.compat.util
Class NotFilter

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

public class NotFilter
extends Object
implements Filter

A filter which returns the complement of a given filter.

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

Constructor Summary
NotFilter(Filter f)
           
 
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

NotFilter

public NotFilter(Filter f)
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.