Package org.forester.util
Class BasicTable<E>
java.lang.Object
org.forester.util.BasicTable<E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetColumnsAsMap(int key_col, int value_col) getColumnsAsMapDouble(int key_col, int value_col) intintfinal StringgetRowAsString(int row, String separator) getValue(int col, int row) getValueAsString(int col, int row) booleanisEmpty()voidtoString()
-
Constructor Details
-
BasicTable
public BasicTable()
-
-
Method Details
-
findRow
- Throws:
IllegalArgumentException
-
getColumnsAsMap
- Throws:
IllegalArgumentException
-
getColumnsAsMapDouble
public Map<String,Double> getColumnsAsMapDouble(int key_col, int value_col) throws IllegalArgumentException, IOException - Throws:
IllegalArgumentExceptionIOException
-
getNumberOfColumns
public int getNumberOfColumns() -
getNumberOfRows
public int getNumberOfRows() -
getRowAsString
-
getValue
- Throws:
IllegalArgumentException
-
getValueAsString
- Throws:
IllegalArgumentException
-
isEmpty
public boolean isEmpty() -
setValue
-
toString
-