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