Possible duplicate: need-help-returning-object-in-thread-run-method
Hello. I have a class implementing runnable and I have a List, storing Threads instantiated with
To give a concrete example of Paul Crowley's solution, I think this is what he suggests:
public class BackgroundJob extends Thread { private final JOB mJob; public BackgroundJob(JOB job) { super(job); mJob = job; } public JOB getJob() { return mJob; } }