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