Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*     */ package gnu.trove.benchmark;
 /*     */ 
 /*     */ class Result
 /*     */ {
 /*     */   long theirs;
 /*     */   long ours;
 /*     */   int iterations;
 /*     */   String description;
 /*     */ 
/*     */   public long getTheirs()
/*     */   {
/*  40 */     return this.;
/*     */   }
/*     */ 
/*     */   public void setTheirs(long argTheirs)
/*     */   {
/*  49 */     this. = argTheirs;
/*     */   }
/*     */ 
/*     */   public long getOurs()
/*     */   {
/*  58 */     return this.;
/*     */   }
/*     */ 
/*     */   public void setOurs(long argOurs)
/*     */   {
/*  67 */     this. = argOurs;
/*     */   }
/*     */ 
/*     */   public long getTheirAvg()
/*     */   {
/*  76 */     return this. / this.;
/*     */   }
/*     */ 
/*     */   public long getOurAvg()
/*     */   {
/*  85 */     return this. / this.;
/*     */   }
/*     */ 
/*     */   public int getIterations()
/*     */   {
/*  94 */     return this.;
/*     */   }
/*     */ 
/*     */   public void setIterations(int argIterations)
/*     */   {
/* 103 */     this. = argIterations;
/*     */   }
/*     */ 
/*     */   public String getDescription()
/*     */   {
/* 112 */     return this.;
/*     */   }
/*     */ 
/*     */   public void setDescription(String argDescription)
/*     */   {
/* 121 */     this. = argDescription;
/*     */   }
/*     */ 
/*     */   public String toString() {
/* 125 */     StringBuffer b = new StringBuffer();
/* 126 */     b.append(getDescription() + "\n");
/* 127 */     b.append("Iterations: " + getIterations() + "\n");
/* 128 */     b.append("Their total (msec): " + getTheirs() + "\n");
/* 129 */     b.append("Our total (msec): " + getOurs() + "\n");
/* 130 */     b.append("Their average (msec): " + getTheirAvg() + "\n");
/* 131 */     b.append("Our average (msec): " + getOurAvg() + "\n");
/* 132 */     return b.toString();
/*     */   }
/*     */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     gnu.trove.benchmark.Result
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X