I don't think that the future.get() will ever be done.  Testing for
!future.done() will always return false after
invokeAll because invokeAll waits for all tasks to complete.

On Thu, Sep 23, 2010 at 7:57 PM, Stanley Ipkiss <[email protected]>wrote:

> According to me, the first line is redundant (checking for
> future.isDone()).
> future.get() will alone serve the purpose.  The snippet of code that I had
> attached was from the latest revision of mahout.
>

Reply via email to