Code example for TreeMultimap

Methods: put

0
{ 
	private TreeMultimap<String, String> m_tags = TreeMultimap.create();
 
	public void addTag(String name, String value)
	{ 
		m_tags.put(name, value);
	} 
 
	@Override 
	public Set<String> getTagNames()
	{ 
		return (m_tags.keySet());
	} 
 
	@Override 
	public Set<String> getTagValues(String tag)
	{ 
		return (m_tags.get(tag));
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java