| Interface | osid.logging.LogNodeList | ||
|---|---|---|---|
| Implements | osid.OsidList | ||
| Description |
Like all
while (lnl.hasNext()) {
LogNode node = lnl.getNextLogNode();
}
or
while (lnl.hasNext()) {
LogNode[] nodes = lnl.getNextLogNodes(lnl.available());
}
| ||
| Method | getNextLogNode | ||
| Description |
Gets the next | ||
| Return | osid.logging.LogNode | the next LogNode in this list. The hasNext()
method should be used to test that a next LogNode is available
before calling this method. | |
| Errors | ILLEGAL_STATE | no more elements available in this list | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getNextLogNodes | ||
| Description |
Gets the next set of | ||
| Parameters | cardinal | n | the number of LogNode elements requested which must be less
than or equal to available() |
| Return | osid.logging.LogNode[] | an array of LogNode elements. The length of
the array is less than or equal to the number specified. | |
| Errors | ILLEGAL_STATE | no more elements available in this list | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |