Skip to main content

AbstractQuantity's class

  • From: Otávio Gonçalves de Santana < >
  • To:
  • Subject: AbstractQuantity's class
  • Date: Sun, 14 Sep 2014 07:29:34 -0300

Hi Guys.
How is going?

I believe we have a possible problem with nomeclature in
 AbstractQuantity's class, looking this example:

Quantity<Length> metre = AbstractQuantity.of(10, SI.METRE);
Quantity<Length> foot =  metre.to(US.FOOT);

IMHO, Abstract* is not a good name to a factory, maybe just Measure, so
will:

Quantity<Length> metre = Meansure.of(10, SI.METRE);
Quantity<Length> foot =  metre.to(US.FOOT);

WDYF?

-- 
Otávio Gonçalves de Santana

blog:     http://otaviosantana.blogspot.com.br/
twitter: http://twitter.com/otaviojava
site:     *http://about.me/otaviojava ;<http://about.me/otaviojava>*
55 (11) 98255-3513


AbstractQuantity's class

Otávio Gonçalves de Santana 09/14/2014

Re: AbstractQuantity's class

Werner Keil 09/14/2014

Re: AbstractQuantity's class

Werner Keil 09/14/2014

Re: AbstractQuantity's class

Otávio Gonçalves de Santana 09/14/2014

Re: AbstractQuantity's class

Werner Keil 09/14/2014

Re: AbstractQuantity's class

Otávio Gonçalves de Santana 09/14/2014

Re: AbstractQuantity's class

Werner Keil 09/14/2014

Re: AbstractQuantity's class

Otávio Gonçalves de Santana 09/15/2014

Re: AbstractQuantity's class

Leonardo Lima 09/15/2014

Re: AbstractQuantity's class

Werner Keil 09/15/2014

RE: AbstractQuantity's class

Legrand, Karen 09/15/2014
 
 
Close
loading
Please Confirm
Close