Package | Description |
---|---|
provided.client.model.task |
Examples of ITask implementations.
|
provided.client.model.taskUtils |
Utilities for managing tasks.
|
provided.compute |
THIS PACKAGE CONTAINS THE INTERFACES FOR THE COMMON API FOR INTER-OPERABILITY BETWEEN STUDENTS.
The interfaces in this package may NOT be modified in any way and all code must
reference this exact package for these interfaces.
Please see the Javadocs for the individual interfaces for specific information. |
Modifier and Type | Method and Description |
---|---|
ITaskResultFormatter<java.math.BigDecimal> |
Pi2.getFormatter()
Return a a formatter that makes a string of the form:
"Pi = [result] ([digits] places)"
Notice how the "digits" value is not part of the result, but that the
formatter can use it anyway because the formatter is closing over
the whole task.
|
ITaskResultFormatter<java.lang.String> |
GetInfo.getFormatter()
Returns an formatter that creates a string of the form:
"GetInfo: System properties = [result] (input = [input])"
Notice how the "input" value is not part of the result, but that the
formatter can use it anyway because the formatter is closing over
the whole task.
|
Modifier and Type | Method and Description |
---|---|
ITaskResultFormatter<java.lang.String> |
SingletonTaskFactoryLoader.ErrorTask.getFormatter() |
Modifier and Type | Method and Description |
---|---|
ITaskResultFormatter<T> |
ITask.getFormatter()
Get an instance of the matched ITaskResultFormatter for this task.
|