Package com.tngtech.jgiven.report.model
Class DataTable
- java.lang.Object
-
- com.tngtech.jgiven.report.model.DataTable
-
public class DataTable extends java.lang.Object
Represents a data table argument.
-
-
Constructor Summary
Constructors Constructor Description DataTable(Table.HeaderType headerType, java.util.List<java.util.List<java.lang.String>> data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addColumn(int i, java.util.List<java.lang.String> column)
void
addRow(int i, java.util.List<java.lang.String> row)
boolean
equals(java.lang.Object o)
int
getColumnCount()
java.util.List<java.util.List<java.lang.String>>
getData()
Table.HeaderType
getHeaderType()
int
getRowCount()
int
hashCode()
boolean
hasHorizontalHeader()
boolean
hasVerticalHeader()
void
setData(java.util.List<java.util.List<java.lang.String>> data)
void
setHeaderType(Table.HeaderType headerType)
-
-
-
Constructor Detail
-
DataTable
public DataTable(Table.HeaderType headerType, java.util.List<java.util.List<java.lang.String>> data)
-
-
Method Detail
-
getHeaderType
public Table.HeaderType getHeaderType()
-
setHeaderType
public void setHeaderType(Table.HeaderType headerType)
-
getData
public java.util.List<java.util.List<java.lang.String>> getData()
-
setData
public void setData(java.util.List<java.util.List<java.lang.String>> data)
-
getRowCount
public int getRowCount()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
hasHorizontalHeader
public boolean hasHorizontalHeader()
-
hasVerticalHeader
public boolean hasVerticalHeader()
-
addColumn
public void addColumn(int i, java.util.List<java.lang.String> column)
-
getColumnCount
public int getColumnCount()
-
addRow
public void addRow(int i, java.util.List<java.lang.String> row)
-
-