Code example for TreeSet

Methods: clear

0
	 * Clears all cookies. 
	 */ 
	@Override 
	public synchronized void clear() 
	{ 
		cookies.clear();
	} 
 
	@Override 
	public synchronized String toString()
	{ 
		return cookies.toString();
	} 
 
	public String getCookie(String cookieName)
	{ 
		if (cookieName == null)
		{ 
			return null; 
		} 
		String result = null;