Skip to main content

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 13:37:50 +0100

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
>
>


Re: Add five methods in Quantity interface[Proposal]

(continued)

Re: Add five methods in Quantity interface[Proposal]

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

Re: Add five methods in Quantity interface[Proposal]

Martin Desruisseaux 11/01/2014

Re: Add five methods in Quantity interface[Proposal]

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

Re: Add five methods in Quantity interface[Proposal]

Martin Desruisseaux 11/01/2014

Re: Add five methods in Quantity interface[Proposal]

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

Re: Add five methods in Quantity interface[Proposal]

Werner Keil 11/01/2014

Re: Add five methods in Quantity interface[Proposal]

Martin Desruisseaux 11/01/2014

Re: Add five methods in Quantity interface[Proposal]

Werner Keil 11/01/2014

Re: Add five methods in Quantity interface[Proposal]

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

Re: Add five methods in Quantity interface[Proposal]

Martin Desruisseaux 11/01/2014

Re: Add five methods in Quantity interface[Proposal]

Werner Keil 11/01/2014

Re: Add five methods in Quantity interface[Proposal]

Werner Keil 11/01/2014

Re: Add five methods in Quantity interface[Proposal]

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