I\'m looking for a class where I can override a method to do the work, and return the results like an iterator. Something like this:
ParallelWorkIterator<
I would recommend looking at Java Executors.
You submit a number of tasks and get a Future object back for each one. Your work is processed in the background, and you iterate through the Future objects (like you do in the above). Each Future returns a result as it become available (by calling get() - this blocks until the result has been generated in a separate thread)