[Java-collab] Simple system for designating units.

Martin Desruisseaux martin.desruisseaux at geomatys.fr
Mon Jun 29 18:49:57 EDT 2009


Hello Landon

Sunburned Surveyor a écrit :
> Most of JUMP's code only allows primitive types like ints and doubles
> to be used for attribute values. So I don't think I will be able to
> use implementations of Measureable directly in OpenJUMP. I might be
> able to make use of the Unit and SystemOfUnits classes. I'm going to
> do some reading on the JSR, and I will report back to the list with my
> conclusion.

Actually I do the same - I don't use Measureable and use only the Unit class. 
This is the library used in GeoTools or Geotoolkit among other.

	Martin



More information about the Java-collab mailing list