edu.sdsc.grid.io
Class MetaDataTable
java.lang.Object
edu.sdsc.grid.io.MetaDataTable
public class MetaDataTable
- extends java.lang.Object
|
Constructor Summary |
MetaDataTable(int[] operators,
java.lang.String[][] values)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MetaDataTable
public MetaDataTable(int[] operators,
java.lang.String[][] values)
setStringValue
public void setStringValue(int i,
int j,
java.lang.String value)
getOperators
public int[] getOperators()
getOperator
public int getOperator(int index)
getIntValue
public int getIntValue(int row,
int column)
getFloatValue
public float getFloatValue(int row,
int column)
getStringValue
public java.lang.String getStringValue(int row,
int column)
getStringValue
public java.lang.String getStringValue(java.lang.String match)
- Returns:
- The string matching the second column, the "value" column, from
the row that's first column, the "attribute" column, equals
match.
getStringValue
public java.lang.String getStringValue(java.lang.String match,
int column)
- Returns:
- The string matching the
column index from
the row that's first column equals match.
getRowCount
public int getRowCount()
getColumnCount
public int getColumnCount()
addRow
public void addRow(java.lang.String[] values,
int operator)
- Adds these values to this table, as the new last row.
removeRow
public void removeRow(int index)
- Removes the row specified by
index from this table.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object