org.forester.util
Class BasicTable<E>
java.lang.Object
org.forester.util.BasicTable<E>
public class BasicTable<E>
- extends Object
BasicTable
public BasicTable()
getColumnsAsMap
public Map<String,E> getColumnsAsMap(int key_col,
int value_col)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getColumnsAsMapDouble
public Map<String,Double> getColumnsAsMapDouble(int key_col,
int value_col)
throws IllegalArgumentException,
IOException
- Throws:
IllegalArgumentException
IOException
getNumberOfColumns
public int getNumberOfColumns()
getNumberOfRows
public int getNumberOfRows()
getValue
public E getValue(int col,
int row)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getValueAsString
public String getValueAsString(int col,
int row)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
isEmpty
public boolean isEmpty()
setValue
public void setValue(int col,
int row,
E value)
toString
public String toString()
- Overrides:
toString
in class Object