| java.util.concurrent.RunnableFuture<V> | 
        
          
        
        Known Indirect Subclasses
        
          
           FutureTask
          
          <V>,
          
           RunnableScheduledFuture
          
          <V>
          
         
  | 
      |||||||||||||||
       A
       
        
         Future
        
       
       that is
       
        
         Runnable
        
       
       . Successful execution of
 the
       
        run
       
       method causes completion of the
       
        Future
       
       and allows access to its results.
      
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          | 
        
          
          Sets this Future to the result of its computation
 unless it has been cancelled.
          
         | 
       ||||||||||
| 
         
          [Expand]
         
          
          Inherited Methods
          
         | 
       |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
         
           
         
         From interface
         
          java.lang.Runnable
         
         
  | 
       |||||||||||||||||||||
         
           
         
         From interface
         
          java.util.concurrent.Future
         
         
  | 
       |||||||||||||||||||||
Sets this Future to the result of its computation unless it has been cancelled.