Code example for AbstractMap.SimpleEntry

0
	 * @param r String to replace with 
	 */ 
	public void addPatch ( String s,
						   String r )
	{ 
		Entry<String, String> e = new SimpleEntry<String, String>( s, r );
		m_patchList.add( e );		
	} 
 
	 
	/** 
	 * Returns the patched string 
	 * Note: Only one patch per input 
	 *  
	 * @param s Input string 
	 *  
	 * @return Patched string, if there was something to patch, 
	 * 		   if not, the same string.  
	 */ 
	public String patch ( String s )
	{