public final class Row extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Double |
getDouble(int index)
Returns an entry from a given column index as a Double (possibly null).
|
Double |
getDouble(String column)
Returns an entry from a given column name as a Double (possibly null).
|
org.threeten.bp.LocalDate |
getLocalDate(int index)
Returns an entry from a given column index as a LocalDate (possibly null).
|
org.threeten.bp.LocalDate |
getLocalDate(String column)
Returns an entry from a given column name as a LocalDate (possibly null).
|
String |
getString(int index)
Returns an entry from a given column index as a String (possibly null).
|
String |
getString(String column)
Returns an entry from a given column name as a String (possibly null).
|
int |
hashCode() |
static Row |
of(HeaderDefinition headerDefinition,
String[] values)
Create a Row.
|
int |
size()
Get the number of columns in this row.
|
String |
toString() |
Row |
withPaddedHeader(HeaderDefinition headerDefinition)
Create row with new header.
|
public static Row of(HeaderDefinition headerDefinition, String[] values)
headerDefinition - the row definition, not nullvalues - the actual values in the row, not nullpublic String getString(int index)
index - the index of the entry, zero-based.public String getString(String column)
column - the column name of the entry, not nullpublic org.threeten.bp.LocalDate getLocalDate(int index)
index - the index of the entry, zero-based.public org.threeten.bp.LocalDate getLocalDate(String column)
column - the column name of the entry, not nullpublic Double getDouble(int index)
index - the index of the entry, zero-basedpublic Double getDouble(String column)
column - the column name of the entry, not nullpublic int size()
public Row withPaddedHeader(HeaderDefinition headerDefinition)
Copyright 2014-Present by Jim Moores
${javadoc.footer.license}