public class BasicTable<E> extends Object
| Constructor and Description |
|---|
BasicTable() |
| Modifier and Type | Method and Description |
|---|---|
int |
findRow(String first_col_value) |
Map<String,E> |
getColumnsAsMap(int key_col,
int value_col) |
Map<String,Double> |
getColumnsAsMapDouble(int key_col,
int value_col) |
int |
getNumberOfColumns() |
int |
getNumberOfRows() |
String |
getRowAsString(int row,
String separator) |
E |
getValue(int col,
int row) |
String |
getValueAsString(int col,
int row) |
boolean |
isEmpty() |
void |
setValue(int col,
int row,
E value) |
String |
toString() |
public int findRow(String first_col_value) throws IllegalArgumentException
IllegalArgumentExceptionpublic Map<String,E> getColumnsAsMap(int key_col, int value_col) throws IllegalArgumentException
IllegalArgumentExceptionpublic Map<String,Double> getColumnsAsMapDouble(int key_col, int value_col) throws IllegalArgumentException, IOException
IllegalArgumentExceptionIOExceptionpublic int getNumberOfColumns()
public int getNumberOfRows()
public E getValue(int col, int row) throws IllegalArgumentException
IllegalArgumentExceptionpublic String getValueAsString(int col, int row) throws IllegalArgumentException
IllegalArgumentExceptionpublic boolean isEmpty()
public void setValue(int col,
int row,
E value)
Copyright © 2016. All rights reserved.