| Interface | osid.course.syllabus.batch.DocetPeerList | ||
|---|---|---|---|
| Implements | osid.OsidList | ||
| Description |
Like all
while (dpl.hasNext()) {
DocetPeer peer = dpl.getNextDocetPeer();
}
or
while (dpl.hasNext()) {
DocetPeer[] peers = dpl.getNextDocetPeers(dpl.available());
}
| ||
| Method | getNextDocetPeer | ||
| Description |
Gets the next | ||
| Return | osid.course.syllabus.batch.DocetPeer | the next DocetPeer in this list. The hasNext()
method should be used to test that a next DocetPeer 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 | getNextDocetPeers | ||
| Description |
Gets the next set of | ||
| Parameters | cardinal | n | the number of DocetPeer elements requested which must be
less than or equal to available() |
| Return | osid.course.syllabus.batch.DocetPeer[] | an array of DocetPeer 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. | |