Code example for HashMap

Methods: put

0
	} 
 
	@Override 
	public Map<String, FREFunction> getFunctions() 
	{ 
		availableFunctions = new HashMap<String, FREFunction>(); 
 
		availableFunctions.put("initialize", new Initialize()); 
 
		availableFunctions.put("isSupported", new IsSupported()); 
		availableFunctions.put("vibrate", new Vibrate()); 
		availableFunctions.put("cancel", new Cancel()); 
		 
		return availableFunctions; 
	} 
}