public static String SetOfVertexToString(Set<Vertex<String,SwcExternalScriptInfo>> vertexSet){
  StringBuilder dependencyMessage=new StringBuilder();
  String lineSeparator=System.getProperty("line.separator");
  LocalizationManager i10n=ThreadLocalToolkit.getLocalizationManager();
  for (  Vertex<String,SwcExternalScriptInfo> vertexEntry : vertexSet) {
    String message=i10n.getLocalizedTextString(new DependsOn(vertexEntry.getWeight()));
    dependencyMessage.append(message + lineSeparator);
    Set<Vertex<String,SwcExternalScriptInfo>> predSet=vertexEntry.getPredecessors();
    for (    Vertex<String,SwcExternalScriptInfo> predEntry : predSet) {
      dependencyMessage.append("\t" + predEntry.getWeight() + lineSeparator);
    }
  }
  return dependencyMessage.toString();
}

public static String SetOfVertexToString ( Set < Vertex < String , SwcExternalScriptInfo > > vertexSet ) { StringBuilder dependencyMessage = new StringBuilder ( ) ; String lineSeparator = System . getProperty ( "line.separator" ) ; LocalizationManager i10n = ThreadLocalToolkit . getLocalizationManager ( ) ; for ( Vertex < String , SwcExternalScriptInfo > vertexEntry : vertexSet ) { String message = i10n . getLocalizedTextString ( new DependsOn ( vertexEntry . getWeight ( ) ) ) ; dependencyMessage . append ( message + lineSeparator ) ; Set < Vertex < String , SwcExternalScriptInfo > > predSet = vertexEntry . getPredecessors ( ) ; for ( Vertex < String , SwcExternalScriptInfo > predEntry : predSet ) { dependencyMessage . append ( "\t" + predEntry . getWeight ( ) + lineSeparator ) ; } } return dependencyMessage . toString ( ) ; }
convert a set of vertex to a string .
