public class intTable extends Table<T>
| Constructor and Description |
|---|
intTable(java.lang.Integer... start) |
| Modifier and Type | Method and Description |
|---|---|
double |
average() |
int |
max() |
int |
median()
Deprecated.
since 1.2; this method does not work correctly for 0 or an even number of rows
|
int |
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
|
int |
sum() |
java.util.ArrayList<T> |
toList() |
as, copy, derive, deriveAll, dropColumns, expand, expandAll, filter, filterRows, getColumnMap, getColumnName, getTable, iterator, rowCount, selectColumns, stream, toSet, toStringpublic int sum()
public int min()
Integer.MAX_VALUE if this table has no rowspublic int max()
Integer.MIN_VALUE if this table has no rowspublic double average()
Double.NaN if this table has no rows@Deprecated public int 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