|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Filterinterface
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 2002-2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl/language
License of use: Lesser
General Public License (LGPL) , no warranty
Method Summary | |
---|---|
boolean |
accept(Object entry)
a filter defines whether to accept a value in a chart |
Filterinterface |
and(Filterinterface filter)
adds filter to this filter and returns the composed filter |
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 |
---|
boolean accept(Object entry)
entry
- the entry to filter
void setInverted(boolean inverted)
inverted
- whether to invert the filterboolean isInverted()
String getCriterium()
Filterinterface and(Filterinterface filter)
filter
- the filter to add
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 |