示例#1
0
 /**
  * An enumeration of all allowed relations between two builders. No distinction is made between
  * source and destination.
  */
 public Enumeration<MMObjectNode> getAllowedRelations(int builder1, int builder2) {
   Set<MMObjectNode> res =
       getAllowedRelations(builder1, builder2, 0, RelationStep.DIRECTIONS_BOTH);
   return Collections.enumeration(res);
 }
示例#2
0
 public Enumeration<MMObjectNode> getAllowedRelations(int otype) {
   Set<MMObjectNode> res = getAllowedRelations(otype, 0, 0, RelationStep.DIRECTIONS_BOTH);
   return Collections.enumeration(res);
 }