示例#1
0
 private void dump(AbstractSampleDataRelationshipNode node, String tab) {
   System.out.println(tab + " -> " + toString(node));
   dumpProtocols(node.getProtocolApplications(), tab);
   for (AbstractSampleDataRelationshipNode x : node.getPredecessors()) {
     System.out.println(tab + "\t <- " + toString(x));
   }
   for (AbstractSampleDataRelationshipNode x : node.getSuccessors()) {
     dump(x, tab + "\t");
   }
 }
示例#2
0
 private String toString(AbstractSampleDataRelationshipNode node) {
   return node.getName() + "(" + node.getNodeType() + "-" + System.identityHashCode(node) + ")";
 }