String parseReturns(Vector<Element> out, Set<String> imports, Map<String,Integer> tuples, Map<String, Integer> structs) throws DBusException
String parseReturns(Vector<Element> out, Set<String> imports, Map<String,Integer> tuples, Map<StructStruct, String> structs) throws DBusException
   String parseReturns(Vector<Element> out, Set<String> imports, Map<String,Integer> tuples, Map<String, Integer> structs) throws DBusException   {      String[] names = new String[] { "Pair", "Triplet", "Quad", "Quintuple", "Sextuple", "Septuple" };      String sig = "";      String name = null;      switch (out.size()) {         case 0:            sig += "void ";            break;         case 1:            sig += DBusConnection.getJavaType(out.get(0).getAttribute("type"), imports, structs, false, false)+" ";            break;         case 2:         case 3:         case 4:         case 5:         case 6:         case 7:            name = names[out.size() - 2];         default:            if (null == name)                name = "NTuple"+out.size();            tuples.put(name, out.size());            sig += name + "<";            for (Element arg: out)               sig += DBusConnection.getJavaType(arg.getAttribute("type"), imports, structs, true, false)+", ";            sig = sig.replaceAll(", $","> ");            break;      }      return sig;   }