public class TableAverage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.HashMap |
rows
A HashMap of HashMap(s), which are the columns.
|
java.util.HashMap |
weights
A HashMap of Distribution(s).
|
Constructor and Description |
---|
TableAverage() |
Modifier and Type | Method and Description |
---|---|
void |
addColumn(java.lang.String text) |
void |
addRow(java.lang.String text) |
void |
addTable(Table t) |
static void |
main(java.lang.String[] args) |
Table |
toTable()
Convert the TableAverage to a Table by converting each Distribution
to a String value of the numerator divided by the denominator.
|
public java.util.HashMap rows
public java.util.HashMap weights
public void addRow(java.lang.String text)
public void addTable(Table t)
public void addColumn(java.lang.String text)
public Table toTable()
public static void main(java.lang.String[] args)