Code example for Hashtable

Methods: containsKey, get, remove

0
						); 
	} 
	 
	public boolean contextExists(String key)
	{ 
		return context.containsKey(key);
	} 
	 
	public void addContext(String key, Object data)
	{ 
		context.put(key, data);
	} 
	 
	public void removeContext(String key)
	{ 
		context.remove(key);
	} 
	 
	public Object getContext(String key)
	{ 
		return context.get(key);
	} 
 
	private String id;
	private List<TouchEventExecution> eventList = new ArrayList<TouchEventExecution>();	
	private List<IResetable> resetableList = new ArrayList<IResetable>();