public interface CalendarBatchFormList extends OsidList
Like all OsidLists, CalendarBatchFormList
provides a means for accessing CalendarBatchForm elements
sequentially either one at a time or many at a time. Examples:
while (cbfl.hasNext()) {
CalendarBatchForm form = cbfl.getNextCalendarBatchForm();
}
or
while (cbfl.hasNext()) {
CalendarBatchForm[] forms = cbfl.getNextCalendarBatchForms(cbfl.available());
}
| Modifier and Type | Method and Description |
|---|---|
CalendarBatchForm |
getNextCalendarBatchForm()
Gets the next
CalendarBatchForm in this list. |
CalendarBatchForm[] |
getNextCalendarBatchForms(long n)
Gets the next set of
CalendarBatchForm elements in this
list. |
CalendarBatchForm getNextCalendarBatchForm() throws OperationFailedException
CalendarBatchForm in this list. CalendarBatchForm in this list. The
hasNext() method should be used to test that a
next CalendarBatchForm is available before
calling this method.IllegalStateException - no more elements available in
this listOperationFailedException - unable to complete requestmandatory - This method must be implemented. CalendarBatchForm[] getNextCalendarBatchForms(long n) throws OperationFailedException
CalendarBatchForm elements in this
list. The specified amount must be less than or equal to the return
from available(). n - the number of CalendarBatchForm elements
requested which must be less than or equal to
available() CalendarBatchForm elements.
The length of the array is less than or equal to the
number specified.IllegalStateException - no more elements available in
this listOperationFailedException - unable to complete requestmandatory - This method must be implemented.