public <T>void add(int what,Request<T> request,OnResponseListener<T> responseListener){
  if (request.inQueue())   Logger.w("This request has been in the queue");
 else {
    request.setQueue(mUnFinishQueue);
    request.onPreResponse(what,responseListener);
    request.setSequence(mInteger.incrementAndGet());
    mUnFinishQueue.add(request);
    mRequestQueue.add(request);
  }
}

public < T > void add ( int what , Request < T > request , OnResponseListener < T > responseListener ) { if ( request . inQueue ( ) ) Logger . w ( "This request has been in the queue" ) ; else { request . setQueue ( mUnFinishQueue ) ; request . onPreResponse ( what , responseListener ) ; request . setSequence ( mInteger . incrementAndGet ( ) ) ; mUnFinishQueue . add ( request ) ; mRequestQueue . add ( request ) ; } }
add a request task to download queue , waiting for execution , if there is no task in the queue or the number of tasks is less than the number of thread pool , will be executed immediately .
