|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.language.filters.AbstractFilter
nl.tudelft.simulation.language.filters.CompositeFilter
The composite filter combines two filters.
(c) copyright 2004 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl/dsol
License of use: General Public
License (GPL) , no warranty
| Field Summary | |
static short |
ADD
the ADD operator |
static short |
OR
the OR operator |
| Fields inherited from class nl.tudelft.simulation.language.filters.AbstractFilter |
inverted |
| Constructor Summary | |
CompositeFilter(Filterinterface filter1,
Filterinterface filter2,
short operator)
constructs a new CompositeFilter |
|
| Method Summary | |
protected boolean |
filter(java.lang.Object entry)
filters the entry. |
java.lang.String |
getCriterium()
returns the filter criterium |
| Methods inherited from class nl.tudelft.simulation.language.filters.AbstractFilter |
accept, add, isInverted, or, setInverted, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final short ADD
public static final short OR
| Constructor Detail |
public CompositeFilter(Filterinterface filter1,
Filterinterface filter2,
short operator)
filter1 - the first filterfilter2 - the second filteroperator - the operator (AND or OR)| Method Detail |
protected boolean filter(java.lang.Object entry)
AbstractFilter
filter in class AbstractFilterentry - the entry to filter.
AbstractFilter.filter(java.lang.Object)public java.lang.String getCriterium()
AbstractFilter
getCriterium in interface FilterinterfacegetCriterium in class AbstractFilterAbstractFilter.getCriterium()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||