Tuple
hep.aida.ref.tuple

Class Tuple

    • Method Detail

      • findTuple

        public ITuple findTuple(int index)
        Get Folder at the current cursor position.
        Specified by:
        findTuple in interface ITuple
        Specified by:
        findTuple in class AbstractTuple
        Parameters:
        index - The column's index of the Folder.
        Returns:
        The folder.
      • addRow

        public void addRow()
        Description copied from interface: ITuple
        Add the current row to the ITuple. This method should be called after fill has been called for the columns; unfilled columns will be filled with their default value.
        Specified by:
        addRow in interface ITuple
        Specified by:
        addRow in class AbstractTuple
      • reset

        public void reset()
        Description copied from interface: ITuple
        Reset the ITuple. All the rows are reset. The ITuple is as just created.
        Specified by:
        reset in interface ITuple
        Specified by:
        reset in class AbstractTuple
      • rows

        public int rows()
        Description copied from interface: ITuple
        Get the number of rows currently filled in the ITuple.
        Specified by:
        rows in interface ITuple
        Specified by:
        rows in interface FTuple
        Specified by:
        rows in class AbstractTuple
        Returns:
        The number of rows. -1 if empty or if it cannot be determined.
      • findColumn

        public int findColumn(String name)
        Description copied from interface: ITuple
        Get the index within the ITuple of a given column.
        Specified by:
        findColumn in interface ITuple
        Specified by:
        findColumn in class AbstractTuple
        Parameters:
        name - The colum's name.
        Returns:
        The corresponding column's index. Note: in C++ -1 may be returned if the column does not exist.
      • columnMin

        public double columnMin(int column)
        Description copied from interface: ITuple
        Get the minimum value of a given column (if it can be converted to a double).
        Specified by:
        columnMin in interface ITuple
        Specified by:
        columnMin in class AbstractTuple
        Parameters:
        column - The column's index.
        Returns:
        The column's minimum value. In Java Double.NaN might be returned.
      • columnMax

        public double columnMax(int column)
        Description copied from interface: ITuple
        Get the maximum value of a given column (if it can be converted to a double).
        Specified by:
        columnMax in interface ITuple
        Specified by:
        columnMax in class AbstractTuple
        Parameters:
        column - The column's index.
        Returns:
        The column's maximum value. In Java Double.NaN might be returned.
      • columnMean

        public double columnMean(int column)
        Description copied from interface: ITuple
        Get the mean value of a given column (if it can be converted to a double).
        Specified by:
        columnMean in interface ITuple
        Specified by:
        columnMean in class AbstractTuple
        Parameters:
        column - The column's index.
        Returns:
        The column's mean value. In Java Double.NaN might be returned.
      • columnRms

        public double columnRms(int column)
        Description copied from interface: ITuple
        Get the RMS of a given column (if it can be converted to a double).
        Specified by:
        columnRms in interface ITuple
        Specified by:
        columnRms in class AbstractTuple
        Parameters:
        column - The column's index.
        Returns:
        The column's RMS. In Java Double.NaN might be returned.
      • columns

        public int columns()
        Description copied from interface: ITuple
        Get the number of columns in the ITuple
        Specified by:
        columns in interface ITuple
        Specified by:
        columns in interface FTuple
        Specified by:
        columns in class AbstractTuple
        Returns:
        The number of columns.
      • column

        public IBaseTupleColumn column(int column)
        Description copied from interface: ITuple
        Return a IBaseTupleColumn knowing its index.
        Specified by:
        column in interface ITuple
        Overrides:
        column in class AbstractTuple
        Parameters:
        column - The column's index within the ITuple.
        Returns:
        The IBaseTupleColumn. In C++, return 0 if not found.
      • column

        public IBaseTupleColumn column(String name)
        Description copied from interface: ITuple
        Return a IBaseTupleColumn knowing its name.
        Specified by:
        column in interface ITuple
        Overrides:
        column in class AbstractTuple
        Parameters:
        name - The colum's name.
        Returns:
        The IBaseTupleColumn. In C++, return 0 if not found.

SCaVis 2.2 © jWork.ORG