cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudsimplus/builders/tables/CloudletsTableBuilder.java
private void createTableColumns() {
        final String ID = "ID";
        columnsDataFunctions.put(table.addColumn("Cloudlet", ID), c -> c.getId());
        columnsDataFunctions.put(table.addColumn("Status "), c -> c.getStatus().name());
        columnsDataFunctions.put(table.addColumn("DC", ID), c -> c.getVm().getHost().getDatacenter().getId());
        columnsDataFunctions.put(table.addColumn("Host", ID), c -> c.getVm().getHost().getId());
        columnsDataFunctions.put(table.addColumn("Host PEs ", CPU_CORES), c -> c.getVm().getHost().getNumberOfWorkingPes());
        columnsDataFunctions.put(table.addColumn("VM", ID), c -> c.getVm().getId());
        columnsDataFunctions.put(table.addColumn("VM PEs   ", CPU_CORES), c -> c.getVm().getNumberOfPes());
        columnsDataFunctions.put(table.addColumn("CloudletLen", "MI"), c -> c.getLength());
        columnsDataFunctions.put(table.addColumn("CloudletPEs", CPU_CORES), c -> c.getNumberOfPes());

        TableColumn col = table.addColumn("StartTime", SECONDS).setFormat(TIME_FORMAT);
        columnsDataFunctions.put(col, c -> (long)c.getExecStartTime());

        col = table.addColumn("FinishTime", SECONDS).setFormat(TIME_FORMAT);
        columnsDataFunctions.put(col, c -> (long)c.getFinishTime());

        col = table.addColumn("ExecTime", SECONDS).setFormat(TIME_FORMAT);
        columnsDataFunctions.put(col, c -> (long)Math.ceil(c.getActualCpuTime()));
    }
/**
     * Creates the columns of the table and define how the data for those columns
     * will be got from a Cloudlet.
     */
Creates the columns of the table and define how the data for those columns
will be got from a Cloudlet.
Creates the columns of the table and define how the data for those columns will be got from a Cloudlet .
private void createTableColumns() {
        final String ID = "ID";
        columnsDataFunctions.put(table.addColumn("Cloudlet", ID), c -> c.getId());
        columnsDataFunctions.put(table.addColumn("Status "), c -> c.getStatus().name());
        columnsDataFunctions.put(table.addColumn("DC", ID), c -> c.getVm().getHost().getDatacenter().getId());
        columnsDataFunctions.put(table.addColumn("Host", ID), c -> c.getVm().getHost().getId());
        columnsDataFunctions.put(table.addColumn("Host PEs ", CPU_CORES), c -> c.getVm().getHost().getNumberOfWorkingPes());
        columnsDataFunctions.put(table.addColumn("VM", ID), c -> c.getVm().getId());
        columnsDataFunctions.put(table.addColumn("VM PEs   ", CPU_CORES), c -> c.getVm().getNumberOfPes());
        columnsDataFunctions.put(table.addColumn("CloudletLen", "MI"), c -> c.getLength());
        columnsDataFunctions.put(table.addColumn("CloudletPEs", CPU_CORES), c -> c.getNumberOfPes());
        TableColumn col = table.addColumn("StartTime", SECONDS).setFormat(TIME_FORMAT);
        columnsDataFunctions.put(col, c -> (long)c.getExecStartTime());
        col = table.addColumn("FinishTime", SECONDS).setFormat(TIME_FORMAT);
        columnsDataFunctions.put(col, c -> (long)c.getFinishTime());
        col = table.addColumn("ExecTime", SECONDS).setFormat(TIME_FORMAT);
        columnsDataFunctions.put(col, c -> (long)Math.ceil(c.getActualCpuTime()));
    }
private void createTableColumns ( ) { final String ID = "ID" ; columnsDataFunctions . put ( table . addColumn ( "Cloudlet" , ID ) , c -> c . getId ( ) ) ; columnsDataFunctions . put ( table . addColumn ( "Status " ) , c -> c . getStatus ( ) . name ( ) ) ; columnsDataFunctions . put ( table . addColumn ( "DC" , ID ) , c -> c . getVm ( ) . getHost ( ) . getDatacenter ( ) . getId ( ) ) ; columnsDataFunctions . put ( table . addColumn ( "Host" , ID ) , c -> c . getVm ( ) . getHost ( ) . getId ( ) ) ; columnsDataFunctions . put ( table . addColumn ( "Host PEs " , CPU_CORES ) , c -> c . getVm ( ) . getHost ( ) . getNumberOfWorkingPes ( ) ) ; columnsDataFunctions . put ( table . addColumn ( "VM" , ID ) , c -> c . getVm ( ) . getId ( ) ) ; columnsDataFunctions . put ( table . addColumn ( "VM PEs   " , CPU_CORES ) , c -> c . getVm ( ) . getNumberOfPes ( ) ) ; columnsDataFunctions . put ( table . addColumn ( "CloudletLen" , "MI" ) , c -> c . getLength ( ) ) ; columnsDataFunctions . put ( table . addColumn ( "CloudletPEs" , CPU_CORES ) , c -> c . getNumberOfPes ( ) ) ; TableColumn col = table . addColumn ( "StartTime" , SECONDS ) . setFormat ( TIME_FORMAT ) ; columnsDataFunctions . put ( col , c -> ( long ) c . getExecStartTime ( ) ) ; col = table . addColumn ( "FinishTime" , SECONDS ) . setFormat ( TIME_FORMAT ) ; columnsDataFunctions . put ( col , c -> ( long ) c . getFinishTime ( ) ) ; col = table . addColumn ( "ExecTime" , SECONDS ) . setFormat ( TIME_FORMAT ) ; columnsDataFunctions . put ( col , c -> ( long ) Math . ceil ( c . getActualCpuTime ( ) ) ) ; }
Creates the columns of the table and define how the data for those columns
 will be got from a Cloudlet.
Creates the columns of the table and define how the data for those columns will be got from a Cloudlet .