Class FlatMapUtil
java.lang.Object
com.helixframework.collections.util.FlatMapUtil
Utility class for flattening a map.
-
Method Summary
-
Method Details
-
flatten
Flattens a given map by concatenating the keys with forward slashes. The values in the map can be of type Map or List.- Parameters:
map- the map to flatten- Returns:
- a new map with flattened keys
-