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