public abstract class TableSkeleton extends Object implements Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
TableSkeleton(String... innerStatisticNames) |
| Modifier and Type | Method and Description |
|---|---|
int |
getRowCount() |
Collection<String> |
getRowLabels() |
<T extends Serializable> |
getStatistic(String row,
String statisticName) |
int |
getStatisticCount() |
String[] |
getStatisticNames() |
Map<String,ValueStatistic<? extends Serializable>[]> |
getStatistics() |
ValueStatistic<? extends Serializable>[] |
getStatistics(String row) |
protected <T extends Serializable> |
insert(String rowName,
String statisticName,
StatisticType type,
T value) |
protected <T extends Serializable> |
insert(String rowName,
String statisticName,
ValueStatistic<T> accessor) |
boolean |
isEmpty() |
String |
toString() |
protected TableSkeleton(String... innerStatisticNames)
public boolean isEmpty()
public int getRowCount()
public Collection<String> getRowLabels()
public String[] getStatisticNames()
public int getStatisticCount()
public ValueStatistic<? extends Serializable>[] getStatistics(String row)
public Map<String,ValueStatistic<? extends Serializable>[]> getStatistics()
public <T extends Serializable> Optional<ValueStatistic<T>> getStatistic(String row, String statisticName)
protected <T extends Serializable> void insert(String rowName, String statisticName, StatisticType type, T value)
protected <T extends Serializable> void insert(String rowName, String statisticName, ValueStatistic<T> accessor)
Copyright © 2018. All rights reserved.