Skip to main content

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

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

Le 16/12/14 00:49, Werner Keil a écrit :
> You're not suggesting, concrete classes like BaseUnit are not
> necessary, are you?

I'm saying that it does not need to be in the API. Implementations may
or may not define a concrete BaseUnit class, at their choice.

Not having a BaseUnit type in public API does not means that we can not
have the /concept/ of base unit. This concept is indeed very important,
at least for SystemOfUnits definition.

Compare with Integer: we have the /concept/ of positive and negative
integers. It does not mean that we /have/ to provide an UnsignedInteger
class. We could, but we don't have to. We can just said in the javadoc
"/this is a positive integer/". This implies that "/positive integer/"
is defined somewhere at least conceptually, even if we have no
PositiveInteger class.

    Martin



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

(continued)

[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