net.sourceforge.pmd.util.filter
Class NotFilter<T>

java.lang.Object
  extended by net.sourceforge.pmd.util.filter.AbstractDelegateFilter<T>
      extended by net.sourceforge.pmd.util.filter.NotFilter<T>
Type Parameters:
T - The underlying type on which the filter applies.
All Implemented Interfaces:
Filter<T>

public class NotFilter<T>
extends AbstractDelegateFilter<T>

A logical NEGATION of a Filter.


Field Summary
 
Fields inherited from class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
filter
 
Constructor Summary
NotFilter()
           
NotFilter(Filter<T> filter)
           
 
Method Summary
 boolean filter(T obj)
           
 java.lang.String toString()
           
 
Methods inherited from class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
getFilter, setFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotFilter

public NotFilter()

NotFilter

public NotFilter(Filter<T> filter)
Method Detail

filter

public boolean filter(T obj)
Specified by:
filter in interface Filter<T>
Overrides:
filter in class AbstractDelegateFilter<T>

toString

public java.lang.String toString()
Overrides:
toString in class AbstractDelegateFilter<T>


Copyright © 2002-2011 InfoEther. All Rights Reserved.