edu.ull.cgunay.utils
Interface TaskWithParam

All Superinterfaces:
Serializable

public interface TaskWithParam
extends Serializable

Interface to describe a task that takes one additional argument other than the object.

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

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

Method Detail

job

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

Parameters:
o - the iterating value
p - an Object value determined by the call to Iteration.loop
TaskException
See Also:
Iteration.loop()