Skip to main content

[jsr363-experts] Re: Should JSR-363 API provide the SI class?

  • From: Werner Keil < >
  • To: " " < >
  • Subject: [jsr363-experts] Re: Should JSR-363 API provide the SI class?
  • Date: Tue, 16 Dec 2014 11:34:35 +0100

Yes, since the whole service loader/LIBLet mechanism under ME 8 is
optional, there are many devices where neither SystemOfUnits (so we keep
that interface?) nor an implementing SI would ever work. and since the
"quantity" package is also optional, an implementing class that refers to
pretty much every single interface in that package should either be in
"spi" or a separate package.
"system" (that's how JScience used to call it once, UOMo also has most
other system classes in such package) "util" or whatever.

Werner

On Tue, Dec 16, 2014 at 11:27 AM, Leonardo Lima 
< >
 wrote:
>
> I guess if we have each as a class under an optional package, it would be
> ok.
>
> On Tue, Dec 16, 2014 at 8:06 AM, Martin Desruisseaux <
>  >
>  wrote:
>>
>> Le 16/12/14 19:02, Leonardo Lima a écrit :
>> > I'm just afraid of the RAM cost for this exposure, as we do have small
>> > systems. Again, the main concern is RAM usage, not Flash storage. So
>> > the API can be "big" in .jar size, but using one or two classes
>> > mustn't cause it to use a lot of RAM.
>>
>> Are we allowed to declare that each individual member of the SI class is
>> optional? E.g. could an implementation omit all SI constants except
>> METRE and SECOND for example? It would be my preferred path if we are
>> allowed to.
>>
>>     Martin
>>
>>


[jsr363-experts] Re: PI

(continued)

[jsr363-experts] Re: PI

Werner Keil 12/14/2014

[jsr363-experts] Re: Should JSR-363 API provide the SI class?

Leonardo Lima 12/16/2014

[jsr363-experts] Re: Should JSR-363 API provide the SI class?

Martin Desruisseaux 12/16/2014

[jsr363-experts] Re: Should JSR-363 API provide the SI class?

Leonardo Lima 12/16/2014

[jsr363-experts] Re: Should JSR-363 API provide the SI class?

Martin Desruisseaux 12/16/2014

[jsr363-experts] Re: Should JSR-363 API provide the SI class?

Werner Keil 12/16/2014

[jsr363-experts] Re: Should JSR-363 API provide the SI class?

Leonardo Lima 12/16/2014

[jsr363-experts] Re: Should JSR-363 API provide the SI class?

Werner Keil 12/16/2014

[jsr363-experts] Re: Should JSR-363 API provide the SI class?

Leonardo Lima 12/16/2014

[jsr363-experts] Re: Should JSR-363 API provide the SI class?

Werner Keil 12/16/2014

[jsr363-experts] Re: Should JSR-363 API provide the SI class?

Werner Keil 12/16/2014
 
 
Close
loading
Please Confirm
Close