TableSliceGroup implements Iterable<TableSlice> { public List<Table> asTableList() { List<Table> tableList = new ArrayList<>(); for (TableSlice view : this) { tableList.add(view.asTable()); } return tableList; } protected  TableSliceGroup(Table original); protected  TableSliceGroup(Table sourceTable, String[] groupColumnNames); List<TableSlice> getSlices(); TableSlice get(int i); Table getSourceTable(); int size(); Table aggregate(String colName1, AggregateFunction<?, ?>... functions); @SuppressWarnings({"unchecked", "rawtypes"}) Table aggregate(ListMultimap<String, AggregateFunction<?, ?>> functions); static Table summaryTableName(Table source); @Override Iterator<TableSlice> iterator(); static String aggregateColumnName(String columnName, String functionName); List<Table> asTableList();  }
@Test public void asTableList() { TableSliceGroup group = StandardTableSliceGroup.create(table, "who"); List<Table> tables = group.asTableList(); assertEquals(6, tables.size()); }