diva.compat.util
Class NotFilter
java.lang.Object
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
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 |
NotFilter
public NotFilter(Filter f)
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.