Class Unique

    • Constructor Detail

      • Unique

        public Unique()
    • Method Detail

      • preVisit

        protected void preVisit​(SpreadSheet sheet,
                                int rowIndex)
        Performs initialization before the cells are being visited.
        Specified by:
        preVisit in class AbstractRowStatistic
        Parameters:
        sheet - the spreadsheet to generate the stats for
        rowIndex - the row index
      • doVisit

        protected void doVisit​(Row row,
                               int colIndex)
        Gets called with every row in the spreadsheet for generating the stats.
        Specified by:
        doVisit in class AbstractRowStatistic
        Parameters:
        row - the current row
        colIndex - the column index
      • postVisit

        protected SpreadSheet postVisit​(SpreadSheet sheet,
                                        int rowIndex)
        Finishes up the stats generation after all the cells have been visited.
        Specified by:
        postVisit in class AbstractRowStatistic
        Parameters:
        sheet - the spreadsheet to generate the stats for
        rowIndex - the row index
        Returns:
        the generated stats