Use Advanced Search to search the entire archive.
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