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