FreeHEP API
Version current

hep.aida.ref.tuple
Class Filter

java.lang.Object
  extended byhep.aida.ref.tuple.Filter
All Implemented Interfaces:
hep.aida.IFilter

public class Filter
extends Object
implements hep.aida.IFilter

Author:
The FreeHEP team @ SLAC
Source Code:
Filter.java

Constructor Summary
Filter(String expression)
          Default contructor.
Filter(String expression, int rowToProcess)
           
Filter(String expression, int rowToProcess, int startingRow)
           
 
Method Summary
 boolean accept()
           
 String expression()
           
 void initialize(hep.aida.ITuple tuple)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filter

public Filter(String expression)
Default contructor.

Parameters:
expression - The expression to evaluate on the tuple.

Filter

public Filter(String expression,
              int rowToProcess)

Filter

public Filter(String expression,
              int rowToProcess,
              int startingRow)
Method Detail

expression

public String expression()
Specified by:
expression in interface hep.aida.IFilter

initialize

public void initialize(hep.aida.ITuple tuple)
Specified by:
initialize in interface hep.aida.IFilter

accept

public boolean accept()
Specified by:
accept in interface hep.aida.IFilter

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.