Code example for ConcurrentMap

Methods: remove

0
		} 
	} 
 
	private static void removeTask(String key) {
		if (key != null) {
			sRunningTasks.remove(key);
		} 
	} 
 
	//---------------------------------------------- 
	// Constructors. 
 
	/** 
	 * Constructor. <strong>Must be called on main thread.</strong> 
	 */ 
	public BackgroundTask() { 
		this(null); 
	} 
 
	/** 
	 * Constructor. <strong>Must be called on main thread.</strong>