Skip to main content

Re: Proposal

  • From: Jean-Marie Dautelle < >
  • To:
  • Subject: Re: Proposal
  • Date: Sun, 2 Nov 2014 16:48:06 +0100

Yes indeed to facilitate extensions.
Let say a user want to define a new quantity such as Heat (commensurable
with Energy)
He will have to export the interface Heat and register the associated
factory either through OSGi (JScience) or using Quantities.setFactory (RI)

On Sun, Nov 2, 2014 at 3:35 PM, Martin Desruisseaux <
>
 wrote:

>  Le 02/11/14 21:02, Jean-Marie Dautelle a écrit :
>
> We could also define QuantityFactory as:
>
>  interface QuantityFactory<Q extends Quantity<Q>, N extends Number> {
>      Q of(N value, Unit<Q>);
> }
>
>
> So you propose one factory instance per quantity type? Why not a single
> factory for all types?
>
>     Martin
>
>


-- 
It is not the strongest of the species that survives, nor the most
intelligent. It is the one that is most adaptable to change. - Darwin's
Origin of Species (digest)


Re: Proposal

(continued)

Re: Proposal

Werner Keil 11/02/2014

Re: Proposal

Jean-Marie Dautelle 11/02/2014

Re: Proposal

Werner Keil 11/02/2014

Re: Proposal

Jean-Marie Dautelle 11/02/2014

Re: Proposal

Jean-Marie Dautelle 11/02/2014

Re: Proposal

Werner Keil 11/02/2014

Re: Proposal

Jean-Marie Dautelle 11/02/2014

Re: Proposal

Martin Desruisseaux 11/02/2014

Re: Proposal

Werner Keil 11/02/2014

Re: Proposal

Jean-Marie Dautelle 11/02/2014

Re: Proposal

Jean-Marie Dautelle 11/02/2014

Re: Proposal

Werner Keil 11/02/2014

Re: Proposal

Jean-Marie Dautelle 11/02/2014

Re: Proposal

Otávio Gonçalves de Santana 11/02/2014

Re: Proposal

Werner Keil 11/02/2014

Re: Proposal

Otávio Gonçalves de Santana 11/03/2014

Re: Proposal

Otávio Gonçalves de Santana 11/03/2014

Re: Proposal

Martin Desruisseaux 11/03/2014

Re: Proposal

Martin Desruisseaux 11/03/2014

Re: Proposal

Martin Desruisseaux 11/03/2014

Re: Proposal

Werner Keil 11/03/2014
 
 
Close
loading
Please Confirm
Close