add constructor for Table to deal with iterator (#1956)

This commit is contained in:
Ben Fry
2013-08-13 22:21:19 -04:00
parent 55b7719367
commit fa07dc1dbc
3 changed files with 47 additions and 12 deletions

View File

@@ -36,7 +36,7 @@ public interface TableRow {
* @param columnName title of the column to reference
*/
public int getInt(String columnName);
public long getLong(int column);
public long getLong(String columnName);
@@ -52,7 +52,7 @@ public interface TableRow {
* @param columnName title of the column to reference
*/
public float getFloat(String columnName);
public double getDouble(int column);
public double getDouble(String columnName);
@@ -107,4 +107,6 @@ public interface TableRow {
public int getColumnCount();
public int getColumnType(String columnName);
public int getColumnType(int column);
public int[] getColumnTypes();
}