|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The FilterInterface is a general interface for all filters in DSOL. Filters can be based on xY combinations, class information ,etc. etc. The API of implementing filters will explain what it expects as input.
(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
| Method Summary | |
boolean |
accept(java.lang.Object entry)
a filter defines whether to accept a value in a chart |
Filterinterface |
add(Filterinterface filter)
adds filter to this filter and returns the composed filter |
java.lang.String |
getCriterium()
returns a string representation of the criterium |
boolean |
isInverted()
is the filter inverted? |
Filterinterface |
or(Filterinterface filter)
creates a new composite filter which is one or two |
void |
setInverted(boolean inverted)
inverts the filter |
| Method Detail |
public boolean accept(java.lang.Object entry)
entry - the entry to filter
public void setInverted(boolean inverted)
inverted - whether to invert the filterpublic boolean isInverted()
public java.lang.String getCriterium()
public Filterinterface add(Filterinterface filter)
filter - the filter to add
public Filterinterface or(Filterinterface filter)
filter - the filter to add
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||