nl.tudelft.simulation.language.filters
Class ZeroFilter

java.lang.Object
  extended bynl.tudelft.simulation.language.filters.AbstractFilter
      extended bynl.tudelft.simulation.language.filters.ZeroFilter
All Implemented Interfaces:
Filterinterface

public class ZeroFilter
extends AbstractFilter

The Zero filter does not filter any value.

(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

Since:
1.2
Version:
1.0 Oct 26, 2004
Author:
Peter Jacobs

Field Summary
 
Fields inherited from class nl.tudelft.simulation.language.filters.AbstractFilter
inverted
 
Constructor Summary
ZeroFilter()
          constructs a new ZeroFilte
 
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
 

Constructor Detail

ZeroFilter

public ZeroFilter()
constructs a new ZeroFilte

Method Detail

filter

protected boolean filter(java.lang.Object entry)
Description copied from class: AbstractFilter
filters the entry. This method should be implemented by every filter based on its semantic meaning.

Specified by:
filter in class AbstractFilter
Parameters:
entry - the entry to filter.
Returns:
whether to accept the value; null values are accepted.
See Also:
AbstractFilter.filter(java.lang.Object)

getCriterium

public java.lang.String getCriterium()
Description copied from class: AbstractFilter
returns the filter criterium

Specified by:
getCriterium in interface Filterinterface
Specified by:
getCriterium in class AbstractFilter
Returns:
the criterium
See Also:
Filterinterface.getCriterium()


Copyright © 2002-2004 Delft University of Technology, the Netherlands. All Rights Reserved.