Skip to main content

Re: Concrete Generics

  • From: Martin Desruisseaux < >
  • To:
  • Subject: Re: Concrete Generics
  • Date: Sat, 18 Oct 2014 19:20:16 +0900
  • Organization: Geomatys


Le 18/10/14 01:22, Werner Keil a écrit :
> I won't push that change for now, but just to let you know, what
> worked for Quantity also works the same way with Unit, e.g.
>
> <R extends Unit<S>, S extends Quantity<S>, T extends Quantity<T>>
> Unit<S> multiply(Unit<T> that);
> instead of
> Unit<?> multiply(Unit<?> that);

Sight... It is unacceptable for the same reason that Quantity.multiply.

    Martin



Concrete Generics

Werner Keil 10/17/2014

Re: Concrete Generics

Martin Desruisseaux 10/18/2014

Re: Concrete Generics

Werner Keil 10/18/2014

Re: Concrete Generics

Martin Desruisseaux 10/18/2014

Re: Concrete Generics

Werner Keil 10/18/2014
 
 
Close
loading
Please Confirm
Close