Since use ExecutorService
can submit
a Callable
task and return a Future
, why need to use FutureTask
to wrap Callable
task and use the method execute
? I feel they both do the same thing.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…