Documentation of 'hep.aida.ref.tuple.Filter' Java class
Filter
hep.aida.ref.tuple

Class Filter

  • All Implemented Interfaces:
    IFilter


    public class Filter
    extends java.lang.Object
    implements IFilter
    • Constructor Summary

      Constructors 
      Constructor and Description
      Filter(java.lang.String expression)
      Default contructor.
      Filter(java.lang.String expression, int rowToProcess) 
      Filter(java.lang.String expression, int rowToProcess, int startingRow) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean accept()
      Check if the IFilter accepts or not the data in the current row of the ITuple it is associated to.
      java.lang.String expression()
      Get the expression that defined the IFilter.
      void initialize(ITuple tuple)
      Initialize the IFilter and associate it to an ITuple.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Filter

        public Filter(java.lang.String expression)
        Default contructor.
        Parameters:
        expression - The expression to evaluate on the tuple.
      • Filter

        public Filter(java.lang.String expression,
                      int rowToProcess)
      • Filter

        public Filter(java.lang.String expression,
                      int rowToProcess,
                      int startingRow)
    • Method Detail

      • expression

        public java.lang.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 tuple)
        Description copied from interface: IFilter
        Initialize the IFilter and associate it to an ITuple.
        Specified by:
        initialize in interface IFilter
        Parameters:
        tuple - The ITuple to which the IFilter is sssociated.
      • accept

        public boolean accept()
        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.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.