org.knime.base.node.viz.crosstable
Class CrosstabNodeModel.CrosstabTotals

java.lang.Object
  extended by org.knime.base.node.viz.crosstable.CrosstabNodeModel.CrosstabTotals
Enclosing class:
CrosstabNodeModel

static class CrosstabNodeModel.CrosstabTotals
extends Object

Container class holding the row count totals, the column count totals and the total count of the cross tabulation.

Author:
Heiko Hofer

Constructor Summary
CrosstabNodeModel.CrosstabTotals(Map<DataCell,Double> rowTotal, Map<DataCell,Double> colTotal, double total)
           
 
Method Summary
(package private)  Map<DataCell,Double> getColTotal()
          Get the column count totals.
(package private)  Map<DataCell,Double> getRowTotal()
          Get the row count totals.
(package private)  double getTotal()
          Get the total count.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrosstabNodeModel.CrosstabTotals

public CrosstabNodeModel.CrosstabTotals(Map<DataCell,Double> rowTotal,
                                        Map<DataCell,Double> colTotal,
                                        double total)
Parameters:
rowTotal - the row count totals
colTotal - the column count totals
total - the total count
Method Detail

getRowTotal

Map<DataCell,Double> getRowTotal()
Get the row count totals.

Returns:
the row count totals

getColTotal

Map<DataCell,Double> getColTotal()
Get the column count totals.

Returns:
the column count totals

getTotal

double getTotal()
Get the total count.

Returns:
the total count


Copyright, 2003 - 2012. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.