Use Advanced Search to search the entire archive.
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