nl.tudelft.simulation.language.filters
Class ZeroFilter

java.lang.Object
  extended by nl.tudelft.simulation.language.filters.AbstractFilter
      extended by nl.tudelft.simulation.language.filters.ZeroFilter
All Implemented Interfaces:
Serializable, Filterinterface

public class ZeroFilter
extends AbstractFilter

The Zero filter does not filter any value.

(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

Since:
1.2
Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:25:54 $
Author:
Peter Jacobs
See Also:
Serialized Form

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(Object entry)
          filters the entry.
 String getCriterium()
          returns the filter criterium
 
Methods inherited from class nl.tudelft.simulation.language.filters.AbstractFilter
accept, and, 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(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.
See Also:
AbstractFilter.filter(java.lang.Object)

getCriterium

public 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-2011 Delft University of Technology, the Netherlands. All Rights Reserved.