code: public static void print(Collection<TypedDependency> dependencies, String format, PrintWriter pw) {
      pw.println(toString(dependencies, format));
    }
docs: USED BY TREEPRINT
  Prints this set of typed dependencies to the specified
  <code>PrintWriter</code> in the specified format.
  @param dependencies The collection of TypedDependency to print
  @param format "xml" or "readable" or other
  @param pw Where to print them