Code example for CopyOnWriteArraySet

public class SetHardwareInfoTask extends AsyncTask<String[], Void, Void>
	private final Set<SetHardwareInterface> listeners = new CopyOnWriteArraySet<SetHardwareInterface>();
	String[] files;
	String[] values;
	Boolean refresh = false;
	ProgressDialog dialog;
	 * @param files files to write settings to. 
	 * @param values values that needs to be written to the files 
	public SetHardwareInfoTask(String[] files, String[] values, ProgressDialog dialog)
		this.files = files;
		this.values = values;
		this.dialog = dialog;