On Fri, Mar 21, 2008 at 10:41 PM, Waldemar Horwat <[EMAIL PROTECTED]> wrote:
> Doing this would require multiple inheritance if you tried to apply it to a 
> two-level class hierarchy.
>
>  class A.<X>;
>  class B.<X> extends A.<X>;
>
>  Now consider where the unqualified type B would belong in the hierarchy.

Yes, you are right... you would need B.<int> to extend both A.<int>
and B. But that could be solved, in the same spirit as my original
suggestion, by treating unqualified B as an empty interface, so as to
maintain the "is" relationship.

Peter
_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to