⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 totask.java

📁 MPI for java for Distributed Programming
💻 JAVA
字号:
/***************************************************************************                                                                         **             Java Grande Forum Benchmark Suite - MPJ Version 1.0         **                                                                         **                            produced by                                  **                                                                         **                  Java Grande Benchmarking Project                       **                                                                         **                                at                                       **                                                                         **                Edinburgh Parallel Computing Centre                      **                                                                         **                email: epcc-javagrande@epcc.ed.ac.uk                     **                                                                         **      Original version of this code by Hon Yau (hwyau@epcc.ed.ac.uk)     **                                                                         **      This version copyright (c) The University of Edinburgh, 2001.      **                         All rights reserved.                            **                                                                         ***************************************************************************/package jgf_mpj_benchmarks.section3.montecarlo;//package montecarlo;/**  * Class for defining a task, for the applications demonstrator.  *  * @author H W Yau  * @version $Revision: 1.1 $ $Date: 2005/04/29 17:43:42 $  */public class ToTask implements java.io.Serializable {  private String header;  private long randomSeed;  public ToTask(String header, long randomSeed) {    this.header         = header;    this.randomSeed     = randomSeed;  }  //------------------------------------------------------------------------  // Accessor methods for class ToTask.  // Generated by 'makeJavaAccessor.pl' script.  HWY.  20th January 1999.  //------------------------------------------------------------------------  /**    * Accessor method for private instance variable <code>header</code>.    *    * @return Value of instance variable <code>header</code>.    */  public String get_header() {    return(this.header);  }  /**    * Set method for private instance variable <code>header</code>.    *    * @param header the value to set for the instance variable <code>header</code>.    */  public void set_header(String header) {    this.header = header;  }  /**    * Accessor method for private instance variable <code>randomSeed</code>.    *    * @return Value of instance variable <code>randomSeed</code>.    */  public long get_randomSeed() {    return(this.randomSeed);  }  /**    * Set method for private instance variable <code>randomSeed</code>.    *    * @param randomSeed the value to set for the instance variable <code>randomSeed</code>.    */  public void set_randomSeed(long randomSeed) {    this.randomSeed = randomSeed;  }  //------------------------------------------------------------------------}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -