Interface | osid.control.ControllerList | ||
---|---|---|---|
Implements | osid.OsidList | ||
Description |
Like all while (cl.hasNext()) { Controller controller = cl.getNextController(); }or while (cl.hasNext()) { Controller[] controllers = cl.getNextControllers(cl.available()); } | ||
Method | getNextController | ||
Description |
Gets the next | ||
Return | osid.control.Controller | the next Controller in this list. The hasNext()
method should be used to test that a next Controller is
available before calling this method. | |
Errors | ILLEGAL_STATE | no more elements available in this list | |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | getNextControllers | ||
Description |
Gets the next set of | ||
Parameters | cardinal | n | the number of Controller elements requested which must be
less than or equal to available() |
Return | osid.control.Controller[] | an array of Controller elements. The length
of the array is less than or equal to the number specified. | |
Errors | ILLEGAL_STATE | no more elements available in this list | |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. |