private Set<String> union(Set<String> s1, Set<String> s2) {
        Set<String> result = new LinkedHashSet<>(s1);
        result.addAll(s2);
        return result;
    }
Create from collections of strings, typically from config.
container-core/src/main/java/com/yahoo/component/chain/dependencies/Dependencies.java