public interface Table extends List<Row>
Modifier and Type | Method and Description |
---|---|
Column |
column(int idx)
Get a column by index.
|
Column |
column(String col)
Get a column by name.
|
Table |
filter(String header,
Object data) |
TableLayout |
getLayout()
Get the layout of this table.
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
Column column(int idx)
idx
- The column index (starting from 0).IllegalArgumentException
- if idx is out of bounds.Column column(String col)
col
- The column name.IllegalArgumentException
- if col is not a valid column.TableLayout getLayout()