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