protected HashMap buildChainHash(Collection chains) { HashMap map = new HashMap();
protected LinkedHashMap buildChainHash(Collection chains) { LinkedHashMap map = new LinkedHashMap();
	protected HashMap buildChainHash(Collection chains) {		HashMap map = new HashMap();		Iterator iter = chains.iterator();		while (iter.hasNext()) {			LayoutChainData p = (LayoutChainData) iter.next();			Integer id = new Integer(p.getID());			map.put(id,p);		}		return map;	}