hep.aida.ref.fitter.fitdata
Class RangeSetFilter
java.lang.Object
hep.aida.ref.fitter.fitdata.RangeSetFilter
- All Implemented Interfaces:
- IFilter
public class RangeSetFilter
- extends Object
- implements IFilter
|
Method Summary |
boolean |
accept()
Check if the IFilter accepts or not the data in the
current row of the ITuple it is associated to. |
String |
expression()
Get the expression that defined the IFilter. |
void |
initialize(ITuple iTuple)
Initialize the IFilter and associate it to an ITuple. |
RangeSetFilter
public RangeSetFilter(IRangeSet[] rangeSet)
accept
public boolean accept()
throws RuntimeException
- Description copied from interface:
IFilter
- Check if the IFilter accepts or not the data in the
current row of the ITuple it is associated to.
- Specified by:
accept in interface IFilter
- Returns:
true if the current data is accepted.
- Throws:
RuntimeException - if the IFilter has not been initialized.
expression
public String expression()
- Description copied from interface:
IFilter
- Get the expression that defined the IFilter.
- Specified by:
expression in interface IFilter
- Returns:
- The expression.
initialize
public void initialize(ITuple iTuple)
throws IllegalArgumentException
- Description copied from interface:
IFilter
- Initialize the IFilter and associate it to an ITuple.
- Specified by:
initialize in interface IFilter
- Parameters:
iTuple - The ITuple to which the IFilter is sssociated.
- Throws:
IllegalArgumentException - If the IFilter and
the ITuple are not compatible.
jHepWork 3.2 © jWork.org