|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.elk.reasoner.ReasonerJob<I,O>
I - the type of the input of the jobO - the type of the result of the computationpublic class ReasonerJob<I,O>
A general class for jobs submitted for computation. Every job is initialized with some input, and when the input is processed, this job can be used to obtain the result of the computation.
| Constructor Summary | |
|---|---|
ReasonerJob(I input)
Creating a job instance for the given input. |
|
| Method Summary | |
|---|---|
I |
getInput()
Returns the input for this job. |
O |
getOutput()
Returns the output of this job, or null if the job has not been
processed yet. |
protected void |
setOutput(O output)
Set the output of this job to the given value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReasonerJob(I input)
input - the input to be processed| Method Detail |
|---|
public I getInput()
public O getOutput()
null if the job has not been
processed yet.
protected void setOutput(O output)
output - the output of this job
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||