flatten Map
fun flattenMap(inMap: Map<String, Map<String, Double>>, catChars: String): LinkedHashMap<String, Double>
Takes the double map and creates a single map by forming unique keys from the double map keys. Use a concatenation string that does not appear within the keys of the inMap and for which a unique key will be formed from the two keys.
Return
the new flattened map
Parameters
in Map
the incoming map to flatten, must not be null
cat Chars
the concatenation string used to form new unique string, must not be null and must result in unique keys