Code example for Hashtable

Methods: keySet

0
	/** 
	 * Get the names of the parameters. 
	 * @return the names of the parameters in the params hashtable. 
	 */ 
	public String[] getParameterNames() {
		return params.keySet().toArray(new String[0]);
	} 
 
	/** 
	 * Determine whether a query parameter was supplied. 
	 * @param name the name of the parameter. 
	 * @return true if the parameter was supplied in the request; 
	 * false otherwise. 
	 */ 
	public boolean hasParameter(String name) {
		return (params.get(name) != null);
	} 
 
	/** 
	 * Get a query parameter. If multiple parameters with the same name 
	 * appear in a query string, this method returns the value of the