Interface ConferralBatchFormList
- All Superinterfaces:
AutoCloseable, Closeable, OsidList, OsidList
Like all OsidLists , ConferralBatchFormList provides a
means for accessing ConferralBatchForm elements sequentially
either one at a time or many at a time. Examples:
while (cbfl.hasNext()) {
ConferralBatchForm form = cbfl.getNextConferralBatchForm();
}
or
while (cbfl.hasNext()) {
ConferralBatchForm[] forms = cbfl.getNextConferralBatchForms(cbfl.available());
}
-
Method Summary
Modifier and TypeMethodDescriptionGets the nextConferralBatchFormin this list.getNextConferralBatchForms(long n) Gets the next set ofConferralBatchFormelements in this list.
-
Method Details
-
getNextConferralBatchForm
Gets the nextConferralBatchFormin this list.- Returns:
- the next
ConferralBatchFormin this list. ThehasNext()method should be used to test that a nextConferralBatchFormis available before calling this method. - Throws:
IllegalStateException- no more elements available in this listOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getNextConferralBatchForms
Gets the next set ofConferralBatchFormelements in this list. The specified amount must be less than or equal to the return fromavailable().- Parameters:
n- the number ofConferralBatchFormelements requested which must be less than or equal toavailable()- Returns:
- an array of
ConferralBatchFormelements. The length of the array is less than or equal to the number specified. - Throws:
IllegalStateException- no more elements available in this listOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-