com.mycila.testing.core.introspect
Class Filter<T>
java.lang.Object
com.mycila.testing.core.introspect.Filter<T>
public abstract class Filter<T>
- extends Object
This class is used to select fields or methods more easily.
You can implement you own filters or use existing ones from the
Filters class and compose them
with and, or, not, ...
- Author:
- Mathieu Carbou (mathieu.carbou@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elements
protected final List<T> elements
Filter
public Filter()
select
public List<T> select()
accept
protected boolean accept(T object)
add
public void add(T element)
Copyright © 2008-2011 Mycila. All Rights Reserved.