|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javatools.db.DbRowSet
It contains only a set of rows.
Constructor Summary | |
DbRowSet()
Creates new DbRowSet |
Method Summary | |
void |
add(DbRow newRow)
Adds a row to the list. |
void |
clear()
Completely clears this row set. |
DbRow |
get(int pos)
Returns a row at the specified position. |
void |
remove(int pos)
Removes a row from the list. |
int |
size()
Returns the number of contained rows. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DbRowSet()
Method Detail |
public DbRow get(int pos) throws DbException
pos
- The requested row index.
DbException
- If something goes wrong.public int size()
public void add(DbRow newRow)
newRow
- The row to be added.public void remove(int pos) throws DbException
pos
- The index of the row to be removed.
DbException
- If something goes wrong.public void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |