package com.stardust.util; import java.util.concurrent.Executor; import java.util.concurrent.Executors; /** * Created by Stardust on 2017/5/2. */ public class UnderuseExecutors { private static Executor mExecutor = Executors.newSingleThreadExecutor(); public static void execute(Runnable runnable) { mExecutor.execute(runnable); } public static Executor getExecutor() { return mExecutor; } }