java併發與多線程

Executor接口 [java]  view plain  copy     public interface Executor {         void execute(Runnable command);   }       Executor接口中之定義了一個方法execute(Runnable command),該方法接收一個Runable實例,它用來執行一個任務,任務即一個實現了Ru
相關文章
相關標籤/搜索