示例#1
0
  @Override
  @SuppressWarnings("unchecked")
  public Object clone() throws CloneNotSupportedException {
    Episome o = (Episome) super.clone();
    o._host = this._host;
    o._speciesParam = _speciesParam;

    o.reactionActive = (ArrayList<Integer>) this.reactionActive.clone();
    o.lastExchange = this.lastExchange;
    o.lastReception = this.lastReception;

    return o;
  }
示例#2
0
 /** You are doing a conjugation! Update your lag variables. */
 public void updateConjugationTime(Episome baby) {
   lastExchange = SimTimer.getCurrentTime();
   baby.lastReception = SimTimer.getCurrentTime();
 }