org.nakedobjects.metamodel.commons.filters
Class AbstractFilter<T>

java.lang.Object
  extended by org.nakedobjects.metamodel.commons.filters.AbstractFilter<T>
All Implemented Interfaces:
Filter<T>
Direct Known Subclasses:
ImperativeFacetsForMethodFilter

public abstract class AbstractFilter<T>
extends java.lang.Object
implements Filter<T>


Constructor Summary
AbstractFilter()
           
 
Method Summary
abstract  boolean accept(T f)
           
 Filter<T> and(Filter<T> f)
           
static
<T> Filter<T>
noop(java.lang.Class<T> clazz)
           
 Filter<T> not()
           
 Filter<T> or(Filter<T> f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFilter

public AbstractFilter()
Method Detail

accept

public abstract boolean accept(T f)
Specified by:
accept in interface Filter<T>

and

public Filter<T> and(Filter<T> f)
Specified by:
and in interface Filter<T>

or

public Filter<T> or(Filter<T> f)
Specified by:
or in interface Filter<T>

not

public Filter<T> not()
Specified by:
not in interface Filter<T>

noop

public static final <T> Filter<T> noop(java.lang.Class<T> clazz)


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.