edu.ull.cgunay.utils
Interface Task

All Superinterfaces:
Serializable
All Known Subinterfaces:
TaskWithReturn
All Known Implementing Classes:
Iteration, StringTask, SuperposedDataPlot.AxisFactory

public interface Task
extends Serializable

Interface to describe a task that takes one argument. It is semantically equivalent to lambda functions of Lisp and Scheme.

Since:
1.0
Version:
1.0
Author:
Cengiz Gunay
See Also:
job(java.lang.Object)

Method Summary
 void job(Object o)
          Method to be called by external task givers.
 

Method Detail

job

public void job(Object o)
         throws TaskException
Method to be called by external task givers.

Parameters:
o - the iterating value
TaskException
See Also:
Iteration.loop()