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 12:36:13 +0100

No, our implementing classes do;-)
The API should allow Enum implementations, so on API level (I believe
MonetaryAmount extends it) it is a no-go, but implementing classes do.

JSR 310 alone consists of over 100 classes;-D
Am 01.11.2014 12:09 schrieb "Martin Desruisseaux" <
>:

> Le 01/11/14 19:57, Werner Keil a écrit :
> >
> > I remember most of them already do;-)
> >
> You mean do not implement Comparable? LocalTime does implement
> Comparable, as LocalDate, Date, and more than 100 other classes in the JDK.
>
> I'm not pushing for implementing Comparable or not - I'm hesitant on
> that one and could be convinced either way. But I don't think that
> providing 'isGreater' methods without implementing Comparable is
> consistent, and I'm not aware of a JDK API doing that. Do you know some?
>
>     Martin
>
>


Re: Add five methods in Quantity interface[Proposal]

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

<Possible follow-up(s)>

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]

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