Code example for Future

Methods: isCancelled

0
/* 48 */     return delegate().cancel(mayInterruptIfRunning);
/*    */   } 
/*    */  
/*    */   public boolean isCancelled() 
/*    */   { 
/* 53 */     return delegate().isCancelled();
/*    */   } 
/*    */  
/*    */   public boolean isDone() 
/*    */   { 
/* 58 */     return delegate().isDone();
/*    */   } 
/*    */  
/*    */   public V get() throws InterruptedException, ExecutionException 
/*    */   { 
/* 63 */     return delegate().get();
/*    */   } 
/*    */  
/*    */   public V get(long timeout, TimeUnit unit)
/*    */     throws InterruptedException, ExecutionException, TimeoutException 
/*    */   {