org.axiondb
public interface RowCollection
Version: $Revision: 1.2 $ $Date: 2005/12/22 09:02:30 $
Method Summary | |
---|---|
boolean | add(Row row)
Ensures that this row collection contains the specified row. |
void | clear()
Removes all of the rows from this row collection.
|
boolean | contains(Row row)
Returns true if this row collection contains the specified row. |
boolean | isEmpty()
Returns true if this row collection contains no rows.
|
boolean | remove(Row row)
Removes a single instance of the specified row from this row collection, if it is
present.
|
RowIterator | rowIterator()
Returns an iterator over the rows in this row collection. |
int | size()
Returns the number of rows in this row collection.
|
Parameters: row whose presence in this row collection is to be ensured.
Returns: true if this row collection changed as a result of the call
Throws: UnsupportedOperationException add is not supported by this row collection.
Throws: UnsupportedOperationException if the clear method is not supported by this row collection.
Parameters: row whose presence in this row collection is to be tested.
Returns: true if this row collection contains the specified row
Returns: true if this row collection contains no rows
Parameters: row to be removed from this row collection, if present.
Returns: true if this row collection changed as a result of the call
Throws: UnsupportedOperationException remove is not supported by this row collection.
Returns: an Iterator over the rows in this row collection
Returns: the number of rows in this row collection