01: package tijmp.filter; 02: 03: /** A filter that inverts the result of another filter 04: */ 05: public class NotFilter implements Filter { 06: private Filter f; 07: 08: public NotFilter(Filter f) { 09: this .f = f; 10: } 11: 12: public boolean accept(Class<?> c) { 13: return !f.accept(c); 14: } 15: }