![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
小乔种菜
enjoy life and love yourself ,even though life is hard。
展开
-
线程池
JAVA 线程池的类 1.Executor 线程管理接口 class SerialExecutor implements Executor { * final Queue tasks = new ArrayDeque(); * final Executor executor; * Runnable active; * * Ser原创 2016-10-11 15:54:39 · 199 阅读 · 0 评论 -
android抽象类AsyncTask<Params, Progress, Result>
AsyncTask这个搞安卓的都不陌生,一般继承他并实现他的4个方法: * @see #onPreExecute * @see #onPostExecute * @see #publishProgress * @see #doInBackground 其中最重要的就是doInBackground(),所有的异步操作都在do原创 2016-10-11 16:46:49 · 525 阅读 · 0 评论