Package | Description |
---|---|
student |
This package provides classes written for use in introductory
computer science courses.
|
Modifier and Type | Class and Description |
---|---|
static class |
DataTable.HashedRow
This is a default concrete implementation of the Row interface.
|
Modifier and Type | Method and Description |
---|---|
DataTable.Row |
DataTable.getRow(int row)
This method returns a map that represents the desired
row (indicated by the primary key).
|
DataTable.Row |
CSVDataTable.getRow(int row) |
DataTable.Row |
DataTable.getRow(String row)
This method returns a Map that represents the desired
row.
|
DataTable.Row |
CSVDataTable.getRow(String row) |
DataTable.Row |
DataTable.removeRow(int row)
This method removes the row identified by row number.
|
DataTable.Row |
CSVDataTable.removeRow(int row) |
DataTable.Row |
DataTable.removeRow(String row)
This method removes the row (to be determined by the key).
|
DataTable.Row |
CSVDataTable.removeRow(String row) |
Modifier and Type | Method and Description |
---|---|
List<DataTable.Row> |
DataTable.getAllRows()
This method returns a representation of the Data Table.
|
List<DataTable.Row> |
CSVDataTable.getAllRows() |
Iterator<DataTable.Row> |
CSVDataTable.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
DataTable.addRow(DataTable.Row row)
This method adds a row to the table.
|
void |
CSVDataTable.addRow(DataTable.Row row) |