Use Advanced Search to search the entire archive.
Re: Add five methods in Quantity interface[Proposal]
- From: Werner Keil <
>
- To: "
" <
>
- Subject: Re: Add five methods in Quantity interface[Proposal]
- Date: Sat, 1 Nov 2014 16:20:04 +0100
Please note, I renamed the 2 (independent) implementation repositories to
uom-se
and
uom-impl-enum
Matching both the packages and Maven group ID now.
Please check out those repositories again if you use them
Werner
On Sat, Nov 1, 2014 at 1:37 PM, Werner Keil
<
>
wrote:
>
Just check the enum impl project.
>
It is more suitable for non numeric quantities, currently they can use
>
Measurement still getting the Unit.
>
>
Which is why for those values "a few, many,..." or "S,M,L,..." we should
>
consider how Quantity and Measurement (or a new Name?) look like.
>
Am 01.11.2014 13:32 schrieb "Martin Desruisseaux" <
>
>:
>
>
Le 01/11/14 20:36, Werner Keil a écrit :
>
> >
>
> > The API should allow Enum implementations, so on API level (I believe
>
> > MonetaryAmount extends it) it is a no-go, but implementing classes do.
>
> >
>
> An Enum implementation of Quantity? What it would looks like? In
>
> particular, how Enum could express various (Number, Unit) tupples?
>
>
>
> Martin
>
>
>
>