Package thredds.inventory.filter
Class FilterNegate
- java.lang.Object
-
- thredds.inventory.filter.FilterNegate
-
- All Implemented Interfaces:
MFileFilter
public class FilterNegate extends Object implements MFileFilter
return the negation of the wrapped filter- Since:
- 1/22/2015
-
-
Constructor Summary
Constructors Constructor Description FilterNegate(MFileFilter f)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(MFile mfile)
Tests if a specified MFile should be included in a file collection.
-
-
-
Constructor Detail
-
FilterNegate
public FilterNegate(MFileFilter f)
-
-
Method Detail
-
accept
public boolean accept(MFile mfile)
Description copied from interface:MFileFilter
Tests if a specified MFile should be included in a file collection.- Specified by:
accept
in interfaceMFileFilter
- Parameters:
mfile
- the MFile- Returns:
true
if the mfile should be included in the file collection;false
otherwise.
-
-