Interface AcademyBatchFormList
- All Superinterfaces:
AutoCloseable, Closeable, OsidList, OsidList
Like all OsidLists , AcademyBatchFormList provides a
means for accessing AcademyBatchForm elements sequentially either
one at a time or many at a time. Examples:
while (abfl.hasNext()) {
AcademyBatchForm form = abfl.getNextAcademyBatchForm();
}
or
while (abfl.hasNext()) {
AcademyBatchForm[] forms = abfl.getNextAcademyBatchForms(abfl.available());
}
-
Method Summary
Modifier and TypeMethodDescriptionGets the nextAcademyBatchFormin this list.getNextAcademyBatchForms(long n) Gets the next set ofAcademyBatchFormelements in this list.
-
Method Details
-
getNextAcademyBatchForm
Gets the nextAcademyBatchFormin this list.- Returns:
- the next
AcademyBatchFormin this list. ThehasNext()method should be used to test that a nextAcademyBatchFormis 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.
-
getNextAcademyBatchForms
Gets the next set ofAcademyBatchFormelements in this list. The specified amount must be less than or equal to the return fromavailable().- Parameters:
n- the number ofAcademyBatchFormelements requested which must be less than or equal toavailable()- Returns:
- an array of
AcademyBatchFormelements. 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.
-