Skip to main content

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

  • From: Martin Desruisseaux < >
  • To:
  • Subject: [jsr363-experts] Re: Quantity.doubleValue(...) ?
  • Date: Tue, 16 Dec 2014 00:08:44 +0900
  • Organization: Geomatys

Le 15/12/14 22:03, Werner Keil a écrit :
>
>     (...snip...) 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.
>
> As there are so many possible systems (custom implementations like
> "Health" or "Fitness" or country-specific ones, what should they all
> return there?

They would return their own set of base units, which are different than
the SI ones.

Base units is at the very core of the whole JSR-363 project, even if
there is no explicit BaseUnit type (because this is not necessary): all
SystemOfUnits is defined by a small set of base units, from which other
units are derived.


> (...snip...) it is not impossible to pull the Measurement interface
> into the API if found appropriate.
> Last time it was discussed, it seems most who participated felt it
> should be in the RI.

But I do *not* want to pull the Measurement interface into the API! It
is too problematic to define its right position in a hierarchy of
classes. But we do not need to have a Measurement interface in order to
talk about measurement! Repeating what I said in my previous email: we
do not need to have an Accuracy interface in order to talk about accuracy!

    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