arrowinfo.java
来自「MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程」· Java 代码 · 共 29 行
JAVA
29 行
import java.io.*;import java.awt.*;import java.util.*;import com.sun.java.swing.*;//This class stores information about a messageclass ArrowInfo extends Info{ int begProcId; int endProcId; int tag; int size; //Constructor for the object representing a message. //bid = Process Id of the process where the message originates //eid = Process Id of the process where the message ends. //beg = The time at which the message originates. //t = Value of tag contained in message. public ArrowInfo (int bid, int eid, double beg, double end, int t, int s) { super (); begProcId = bid; endProcId = eid; begT = beg; endT = end; tag = t; size = s; } public String toString () { return ("ArrowInfo [begProcId=" + begProcId + ", endProcId=" + endProcId + ", begT=" + begT + ", endT=" + endT + ", tag=" + tag + ", size=" + size + "]"); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?