# | Line 22 | Line 22 | package java.util.concurrent; | |
---|---|---|
22 | * Executor executor = ... | |
23 | * ArchiveSearcher searcher = ... | |
24 | * void showSearch(final String target) throws InterruptedException { | |
25 | < | * Future<String> future = |
26 | < | * new FutureTask<String>(new Callable<String>() { |
25 | > | * Future<String> future = |
26 | > | * new FutureTask<String>(new Callable<String>() { |
27 | * public String call() { | |
28 | * return searcher.search(target); | |
29 | * }}); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |