private String StringForOutput(Map map, String separator)
    {
        Iterator it = SetIterator(map);
        String result = "";
        while (it.hasNext())
        {
            Map.Entry m = (Map.Entry)it.next();
            result += m.getKey() + "/" + m.getValue();
            if (it.hasNext()) result += separator;
        }
        return result;
    }