public static Map<Long, FunctionDescription> createAddressToFunctionMap(
			Iterator<FunctionDescription> iter) {
		TreeMap<Long, FunctionDescription> addrmap = new TreeMap<Long, FunctionDescription>();
		while (iter.hasNext()) {
			FunctionDescription func = iter.next();
			long addr = func.getAddress();
			if (addr == -1) {
				continue;
			}
			addrmap.put(addr, func);
		}
		return addrmap;
	}
Create a map from addresses to functions
@param iter is the list of functions to map
@return the Map
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/description/FunctionDescription.java