view bindings/java/src/org/omras2/Result.java @ 767:6d0d41604aba

Fix analogous signed/unsigned mistake in command-line binary Now that I've made this mistake somewhat catastrophically, it's fairly easy to spot.
author mas01cr
date Thu, 02 Jun 2011 16:31:44 +0000
parents a9978a6d0bb3
children
line wrap: on
line source
package org.omras2;
import lombok.Getter;

public class Result
{
	@Getter String key;
	@Getter int ipos;
	@Getter int qpos;
	@Getter double distance;

	public Result(String key, double distance, int ipos, int qpos)
	{
		this.key = key;
		this.distance = distance;
		this.ipos = ipos;
		this.qpos = qpos;
	}

	public String toString()
	{
		return "{key="+key+" distance="+distance+" ipos="+ipos+" qpos="+qpos+"}";
	}
}