摘要:1.Executors提供线程池 ExecutorService pool = Executors.newFixedThreadPool(5); ExecutorService submit()可以接受runnable和callable,有返回值,execute()接受runnable,无返回值 2
阅读全文
posted @ 2018-03-09 15:55
posted @ 2018-03-09 15:55
posted @ 2017-08-07 20:49
posted @ 2017-08-04 22:38
posted @ 2017-08-02 17:37
posted @ 2017-07-26 19:42