# | Line 31 | Line 31 | public class Executors { | |
---|---|---|
31 | DelegatedExecutorService(ExecutorService executor) { e = executor; } | |
32 | public void execute(Runnable command) { e.execute(command); } | |
33 | public void shutdown() { e.shutdown(); } | |
34 | < | public List shutdownNow() { return e.shutdownNow(); } |
34 | > | public List<Runnable> shutdownNow() { return e.shutdownNow(); } |
35 | public boolean isShutdown() { return e.isShutdown(); } | |
36 | public boolean isTerminated() { return e.isTerminated(); } | |
37 | public boolean awaitTermination(long timeout, TimeUnit unit) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |