annotate bindings/java/src/org/omras2/Result.java @ 765:337e72088f76

Fix for some sample bugs a + b ? c : d does not do what I think it does. That bug mostly masked a thorough logic error in building the table of counts of possible sequences; there was too much cumulativeness. There apparently remain problems
author mas01cr
date Thu, 02 Jun 2011 16:31:35 +0000
parents a9978a6d0bb3
children
rev   line source
mas01mj@727 1 package org.omras2;
mas01mj@727 2 import lombok.Getter;
mas01mj@727 3
mas01mj@727 4 public class Result
mas01mj@727 5 {
mas01mj@727 6 @Getter String key;
mas01mj@727 7 @Getter int ipos;
mas01mj@727 8 @Getter int qpos;
mas01mj@727 9 @Getter double distance;
mas01mj@727 10
mas01mj@727 11 public Result(String key, double distance, int ipos, int qpos)
mas01mj@727 12 {
mas01mj@727 13 this.key = key;
mas01mj@727 14 this.distance = distance;
mas01mj@727 15 this.ipos = ipos;
mas01mj@727 16 this.qpos = qpos;
mas01mj@727 17 }
mas01mj@729 18
mas01mj@729 19 public String toString()
mas01mj@729 20 {
mas01mj@729 21 return "{key="+key+" distance="+distance+" ipos="+ipos+" qpos="+qpos+"}";
mas01mj@729 22 }
mas01mj@727 23 }