Class TextTable

  • All Implemented Interfaces:
    Table

    public class TextTable
    extends CsvTable
    Prints a table from a given data set, using a simple delimited text format.
    Since:
    CloudSim Plus 1.0
    Author:
    Manoel Campos da Silva Filho
    • Constructor Detail

      • TextTable

        public TextTable()
      • TextTable

        public TextTable​(String title)
        Creates an Table
        Parameters:
        title - Title of the table
    • Method Detail

      • printTitle

        public void printTitle()
        Description copied from class: CsvTable
        CSV files doesn't have a title.
        Overrides:
        printTitle in class CsvTable
      • printTableOpening

        public void printTableOpening()
        Description copied from class: CsvTable
        CSV files doesn't have a table opening line.
        Overrides:
        printTableOpening in class CsvTable
      • printTableClosing

        public void printTableClosing()
        Description copied from class: CsvTable
        CSV files doesn't have a table closing line.
        Overrides:
        printTableClosing in class CsvTable
      • addColumn

        public TableColumn addColumn​(int index,
                                     String columnTitle)
        Description copied from interface: Table
        Adds a column with a given title to the end of the table's columns to be printed.
        Specified by:
        addColumn in interface Table
        Overrides:
        addColumn in class CsvTable
        Parameters:
        index - the position to insert the column into the column's list
        columnTitle - The title of the column to be added.
        Returns:
        the created column