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