class StringUtilities {

    public static String join(String separator, Collection<? extends Object> objects)
    {
        String s;
        if (objects == null || objects.isEmpty())
        {
            s = EMPTY;
        }
        else if (objects.size() == 1)
        {
            s = objects.iterator().next().toString();
        }
        else
        {
            s = join(new StringBuilder(), separator, objects).toString();
        }
        return s;
    }

    private  StringUtilities();

}