public Map<String, Function> getFunctions() {
    Map<String, Function> result = new HashMap<>();
    for (Function function : functions) {
      result.put(function.getId(), function);
    }
    return result;
  }
FunctionServiceCreation to be used in CacheXmlParser
geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/FunctionServiceCreation.java