private static String toCompoundString(String [] compounds) {
        int all = compounds.length;
        for (String compound : compounds) all += compound.length();
        StringBuilder b = new StringBuilder(all);
        for (String compound : compounds) b.append(compound).append(".");
        return b.isEmpty() ? "" : b.substring(0, b.length()-1);
    }
Returns the string representation of this - all the name components in order separated by dots.
container-core/src/main/java/com/yahoo/processing/request/CompoundName.java