diff --git a/AlgebraicDataflowArchitectureModel/src/models/controlFlowModel/ObjectNode.java b/AlgebraicDataflowArchitectureModel/src/models/controlFlowModel/ObjectNode.java index a2b27e6..7af6a3b 100644 --- a/AlgebraicDataflowArchitectureModel/src/models/controlFlowModel/ObjectNode.java +++ b/AlgebraicDataflowArchitectureModel/src/models/controlFlowModel/ObjectNode.java @@ -24,10 +24,22 @@ this.name = name; } + /** + * Get the specific edge that connects to the input port of the node. + * + * @param i the index of the edge in the input edges + * @return the edge + */ public CallEdge getInEdge(int i) { return (CallEdge) ((List) inEdges).get(i); } + /** + * Get the specific edge that connects to the output port of the node. + * + * @param i the index of the edge in the output edges + * @return the edge + */ public CallEdge getOutEdge(int i) { return (CallEdge) ((List) outEdges).get(i); } @@ -58,10 +70,11 @@ return (ObjectNode) ((List) outEdges).get(i).getDestination(); } - /************************************************************* - * 指定したエッジ(出力側)の呼び出し順を変更する. - * @param curOrder 現在の呼び出し順 - * @param newCallOrder 新しい呼び出し順 + /** + * Change the call order of specified output edge. + * + * @param curOrder Current call order + * @param newCallOrder New call order */ public void sortOutEdgesByCallOrder(final int curOrder, final int newCallOrder) { ArrayList edges = ((ArrayList) outEdges);