Package org.forester.util
Class BasicTable<E>
java.lang.Object
org.forester.util.BasicTable<E>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getColumnsAsMap
(int key_col, int value_col) getColumnsAsMapDouble
(int key_col, int value_col) int
int
final String
getRowAsString
(int row, String separator) getValue
(int col, int row) getValueAsString
(int col, int row) boolean
isEmpty()
void
toString()
-
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:
IllegalArgumentException
IOException
-
getNumberOfColumns
public int getNumberOfColumns() -
getNumberOfRows
public int getNumberOfRows() -
getRowAsString
-
getValue
- Throws:
IllegalArgumentException
-
getValueAsString
- Throws:
IllegalArgumentException
-
isEmpty
public boolean isEmpty() -
setValue
-
toString
-