Code example for SetMultimap

Methods: get

0
	public List<String> getVisibleContainerHandles(String handle) {
		return containers;
	} 
 
	public Collection<URI> getContainedURIs(String containerHandle) {
		return container2URIs.get(containerHandle);
	} 
	 
	public boolean isEmpty(String containerHandle) {
		return getContainedURIs(containerHandle).isEmpty();
	} 
 
	public String getContainerHandle(URI uri) {
		Set<String> set = uri2container.get(uri);
		if (set!=null && !set.isEmpty())
			return set.iterator().next();
		return null; 
	} 
	 
	@Override