public class doubleTable extends Table<T>
| Constructor and Description |
|---|
doubleTable(java.lang.Double... start) |
| Modifier and Type | Method and Description |
|---|---|
double |
average() |
double |
max() |
double |
median()
Deprecated.
since 1.2; this method does not work correctly for 0 or an even number of rows
|
double |
min() |
void |
setColumnMap(java.util.LinkedHashMap<java.lang.String,java.lang.Integer> columnMap)
Deprecated.
since 1.2; for internal use only
|
void |
setColumnName(java.lang.String columnName)
Deprecated.
since 1.2; set via the constructor and not meant to be changed afterward
|
void |
setTable(java.util.ArrayList<java.util.ArrayList<java.lang.Object>> table)
Deprecated.
since 1.2; for internal use only
|
double |
sum() |
java.util.ArrayList<T> |
toList() |
as, copy, derive, deriveAll, dropColumns, expand, expandAll, filter, filterRows, getColumnMap, getColumnName, getTable, iterator, rowCount, selectColumns, stream, toSet, toStringpublic double sum()
public double min()
Double.MAX_VALUE if this table has no rowspublic double max()
Double.MAX_VALUE if this table has no rowspublic double average()
Double.NaN if this table has no rows@Deprecated public double median()
@Deprecated public void setColumnName(java.lang.String columnName)
columnName - the name of the column this table should point to@Deprecated public void setTable(java.util.ArrayList<java.util.ArrayList<java.lang.Object>> table)
table - the list of rows@Deprecated public void setColumnMap(java.util.LinkedHashMap<java.lang.String,java.lang.Integer> columnMap)
columnMap - the map from column name to index in the lists that make up rows