Package nz.co.abrahams.asithappens.storage

Examples of nz.co.abrahams.asithappens.storage.SummaryStatistics


        for (int i = 0; i < HEADINGS.length; i++ ) {
            headings.add(HEADINGS[i]);
        }
        tableData = new Vector();
        for (int set = 0; set < sets; set++ ) {
            SummaryStatistics statistics;
            Vector row;
           
            statistics = data.getSummaryStatistics(set);
            row = new Vector();
            row.add(Integer.toString(set));
View Full Code Here


        }

    }

    public void updateTable() {
        SummaryStatistics statistics;

        // Add any extra rows for new data sets
        for (int set = table.getModel().getRowCount(); set < data.getDataSetCount(); set++) {
            addTableRow(set);
        }
View Full Code Here

            table.getModel().setValueAt(TextFormatter.formatValue(statistics.average), set, Columns.AVERAGE.ordinal());
        }
    }

    private void addTableRow(int set) {
        SummaryStatistics statistics;
        Vector row;

        statistics = data.getSummaryStatistics(set);
        row = new Vector();
        row.add(Integer.toString(set));
View Full Code Here

    /**
     * Test of generateSummaryStatistics method, of class nz.co.abrahams.asithappens.DataSet.
     */
    @Test
    public void testGenerateSummaryStatistics() {
        SummaryStatistics summary;
       
        System.out.println("testGenerateSummaryStatistics");
       
        summary = emptySet.generateSummaryStatistics(START_TIME, FINISH_TIME);
        Assert.assertEquals(0, summary.samples);
View Full Code Here

TOP

Related Classes of nz.co.abrahams.asithappens.storage.SummaryStatistics

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.