Skip to main content

Re: Add five methods in Quantity interface[Proposal]

  • From: Otávio Gonçalves de Santana < >
  • To:
  • Subject: Re: Add five methods in Quantity interface[Proposal]
  • Date: Sat, 1 Nov 2014 08:47:39 -0200

I will do it, put the Comprable, but not in the interface just in the
implementation :)

On Sat, Nov 1, 2014 at 8:43 AM, Martin Desruisseaux <
>
 wrote:

> Le 01/11/14 19:33, Otávio Gonçalves de Santana a écrit :
> > I remembered you had this discussion about the comparable and the
> > conclusion was we shouldn't put in the interface and each
> > implementation could or not have it.
> Yes, I'm rather in favour of leaving that choice to implementors. But I
> don't think that adding "isGreater" and similar methods without
> implementing Comparable is a coherent choice. I would either provide
> none, or if we really want to provide comparison methods then implement
> Comparable.
>
>     Martin
>
>


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


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