Java tutorial
//package com.java2s; //License from project: Apache License import android.os.AsyncTask; public class Main { public static <T> void executeAsyncTask(AsyncTask<T, ?, ?> task, T... params) { task.execute(params); } }