Code example for TreeMap

Methods: clear

0
					entry.getDescription());
		} 
	} 
	 
	public void clear() { 
		map.clear();
	} 
 
	public String autoCompleteEntryDescription(int accountId, String description) {
		java.util.Map.Entry<String, String> e = map.ceilingEntry(
				accountId + description.toLowerCase());
		 
		if (e != null && e.getValue().regionMatches(true, 0, description, 0, description.length())) {
			return e.getValue();
		} 
		else { 
			return null; 
		} 
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java