annotate bindings/java/src/org/omras2/Result.java @ 727:4d9e4ff0a9cd

* Now produces results - a Vector of Result objects * Handles includeKeys / excludeKeys correctly
author mas01mj
date Mon, 26 Jul 2010 14:58:13 +0000
parents
children a9978a6d0bb3
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@727 18 }