org.springframework.yarn.support.console
Class TableRow
java.lang.Object
org.springframework.yarn.support.console.TableRow
public class TableRow
- extends Object
Holds the table rows used by Table.
- Author:
- Gunnar Hillert, Ilayaperumal Gopinathan, Janne Valkealahti
- See Also:
UiUtils
TableRow
public TableRow()
setData
public void setData(Map<Integer,String> data)
getValue
public String getValue(Integer key)
- Return a value from this row.
- Parameters:
key - Column for which to return the value for
- Returns:
- Value of the specified column within this row
addValue
public TableRow addValue(Integer column,
String value)
- Add a value to the to the specified column within this row.
- Parameters:
column - columnvalue - value
- Returns:
- the row
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object