Skip to main content

[jsr363-experts] Re: Quantity.doubleValue(...) ?

  • From: Martin Desruisseaux < >
  • To:
  • Subject: [jsr363-experts] Re: Quantity.doubleValue(...) ?
  • Date: Mon, 15 Dec 2014 21:29:47 +0900
  • Organization: Geomatys

Le 15/12/14 21:03, Werner Keil a écrit :
> Base Unit is a concrete class, but if you think the general concept of
> base and derived units would better suit the API concepts and terms,
> please feel free to refactor.

I'm not talking about classes, but concepts. Before to be a class (if
implementor wish), base unit is first a concept defined by BIPM.

SystemOfUnits could (and probably should) have the following method:

    Set<Unit<?>> getBaseUnits();

Note that the type in the returned set is Unit<?>, not BaseUnit<?>. The
concept of base units exists no matter how we represent it. Whether a
particular implementation decides to define a BaseUnit class for holding
that concept or not is an implementation details.


> Those we declared only in the RI for now like Range or Measurement
> should belong there, otherwise it creates the impression these are in
> the API.
I agree that Range is not relevant to JSR-363 API. However I think that
the Measurement concept should be discussed in the "definition of terms"
part. Note again that I'm talking about the concept, not class. In the
same way that we can discuss about precision, accuracy, /etc./ without
having Precision or Accuracy classes.

> Btw. what triggers the Unit-API JAR creation in the GeoAPI Maven repo?
> Is that done manually?
This is automatic. The GitHib is verified every hour. If a new commit is
found, a new JAR creation is automatically trigged.


> Here http://maven.geotoolkit.org/javax/measure/unit-api/
> is only 0.7-SNAPSHOT, but the master already moved to 0.8-SNAPSHOT
> allowing later bugs to be addressed e.g. the one around QuantityFactory.
> What causes the latest Snapshot to be delivered there, too?
Should be automatic... If it is not, I will investigate what is happening.

> And what about the 0.7 milestone release?
I'm on a slow network right now. I will try to deploy later tonight,
when I will be on a better network.

    Martin



[jsr363-experts] Quantity.doubleValue(...) ?

Martin Desruisseaux 12/15/2014

[jsr363-experts] Re: Quantity.doubleValue(...) ?

Werner Keil 12/15/2014

[jsr363-experts] Re: Quantity.doubleValue(...) ?

Werner Keil 12/15/2014

[jsr363-experts] Re: Quantity.doubleValue(...) ?

Martin Desruisseaux 12/15/2014

[jsr363-experts] Re: Quantity.doubleValue(...) ?

Werner Keil 12/15/2014

[jsr363-experts] Re: Quantity.doubleValue(...) ?

Martin Desruisseaux 12/15/2014

[jsr363-experts] Re: Quantity.doubleValue(...) ?

Werner Keil 12/15/2014

[jsr363-experts] Re: Quantity.doubleValue(...) ?

Martin Desruisseaux 12/15/2014

[jsr363-experts] Re: Quantity.doubleValue(...) ?

Werner Keil 12/15/2014

[jsr363-experts] Re: Quantity.doubleValue(...) ?

Martin Desruisseaux 12/15/2014

[jsr363-experts] Re: Quantity.doubleValue(...) ?

Werner Keil 12/15/2014

[jsr363-experts] Re: Quantity.doubleValue(...) ?

Martin Desruisseaux 12/15/2014

[jsr363-experts] Re: Quantity.doubleValue(...) ?

Martin Desruisseaux 12/16/2014

[jsr363-experts] Re: Quantity.doubleValue(...) ?

Leonardo Lima 12/16/2014

[jsr363-experts] Re: Quantity.doubleValue(...) ?

Martin Desruisseaux 12/16/2014
 
 
Close
loading
Please Confirm
Close