| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Row |
get(int index)
Get a row, indexed from zero (excluding the header).
|
HeaderDefinition |
getHeaderDefinition()
Get the header definition.
|
int |
hashCode() |
boolean |
isEmpty()
Return whether the result set empty.
|
Iterator<Row> |
iterator()
Gets a row iterator.
|
static TabularResult |
of(HeaderDefinition headerDefinition,
List<Row> rows)
Create a tabular result set from a header definition and an ordered list of rows.
|
int |
size()
Get the number of rows in this
TabularResult. |
String |
toPrettyPrintedString()
Print a nicely formatted representation of this object.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static TabularResult of(HeaderDefinition headerDefinition, List<Row> rows)
headerDefinition - the definition of the header row, not nullrows - a list of rows, not nullTabularResult instancepublic HeaderDefinition getHeaderDefinition()
public Row get(int index)
IndexOutOfBoundsException if index >= size()index - the index of the rowpublic int size()
TabularResult.public boolean isEmpty()
public String toPrettyPrintedString()
Copyright 2014-Present by Jim Moores
${javadoc.footer.license}