Code example for BlockingQueue

Methods: contains, put

0
			mTask.start();
		} 
	} 
 
	private void addUrlToDownloadQueue(String url) {
		if (!mUrlList.contains(url)) {
			try { 
				mUrlList.put(url);
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block 
				e.printStackTrace();
			} 
		} 
	} 
 
	// Low-level interface to get ImageManager 
	public ImageManager getImageManager() {
		return mImageManager;
	} 
 
	private class GetImageTask extends Thread {