Пример #1
0
  /**
    * Dumps the contents of the fields, to standard-out, for debugging.
    */
  public void dbgDumpFields() pure {
    super.dbgDumpFields();
//    dbgPrintln("nPathValue="        +this.nPathValue);
//    dbgPrintln("expectedReturnRate="+this.expectedReturnRate);
//    dbgPrintln("volatility="        +this.volatility);
//    dbgPrintln("volatility2="       +this.volatility2);
//    dbgPrintln("mean="              +this.mean);
//    dbgPrintln("variance="          +this.variance);
  }
Пример #2
0
 /**
  * Clone the instance variables in this class, from another instance of this class.
  *
  * @param obj the PathId object from which to copy.
  * @exception DemoException thrown if the values to be copied contain any undefined objects.
  */
 public void copyInstanceVariables(PathId obj) throws DemoException {
   this.name = obj.get_name();
   this.startDate = obj.get_startDate();
   this.endDate = obj.get_endDate();
   this.dTime = obj.get_dTime();
 }