()
| 85 | } |
| 86 | |
| 87 | @Override |
| 88 | public Object get() throws InterruptedException, ExecutionException { |
| 89 | synchronized (taskQueue) { |
| 90 | while(taskQueue.size() > 0) |
| 91 | taskQueue.wait(); |
| 92 | } |
| 93 | |
| 94 | return null; |
| 95 | } |
| 96 | |
| 97 | @Override |
| 98 | public Object get(long l, TimeUnit timeUnit) throws InterruptedException, ExecutionException, TimeoutException { |
no test coverage detected