Interface SignalBatchFormList

All Superinterfaces:
AutoCloseable, Closeable, OsidList, OsidList

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());
}            
  
  • Method Details

    • getNextSignalBatchForm

      SignalBatchForm getNextSignalBatchForm() throws OperationFailedException
      Gets the next SignalBatchForm in this list.
      Returns:
      the next SignalBatchForm in this list. The hasNext() method should be used to test that a next SignalBatchForm is available before calling this method.
      Throws:
      IllegalStateException - no more elements available in this list
      OperationFailedException - unable to complete request
      Compliance:
      mandatory - This method must be implemented.
    • getNextSignalBatchForms

      SignalBatchForm[] getNextSignalBatchForms(long n) throws OperationFailedException
      Gets the next set of SignalBatchForm elements in this list. The specified amount must be less than or equal to the return from available() .
      Parameters:
      n - the number of SignalBatchForm elements requested which must be less than or equal to available()
      Returns:
      an array of SignalBatchForm elements. The length of the array is less than or equal to the number specified.
      Throws:
      IllegalStateException - no more elements available in this list
      OperationFailedException - unable to complete request
      Compliance:
      mandatory - This method must be implemented.