By sharad1974
via techgrasp.com
Published: May 20 2008 / 03:17
This article shows us, with examples, how to use the Callable and Future interfaces in java concurrent utils package. These new interfaces allow us to return any object or throw any Exception from a method run in a separate thread. So we are no longer constrained by the public void run() method signature of the Runnable class.
Comments
htowninsomniac replied ago:
A very useful and well-written article, thanks. I believe using the generic types instead of raw types would have made the article even better, though.
Voters For This Link (17)
Voters Against This Link (1)