Re: Nature of Parametrized types

2008-03-21 Thread Waldemar Horwat
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. Waldemar Peter Hall wrote: Note that this is not to say that the type Cls is

Re: Nature of Parametrized types

2008-03-17 Thread Graydon Hoare
Peter Hall wrote: I have a few questions/comments about parametrized types. Some I know has been discussed, but I still unclear on the outcome of those conversations. Good questions! 1. If there is a type T.J,K, can T be referenced itself, or must it be referenced for some specific values

Nature of Parametrized types

2008-03-15 Thread Peter Hall
I have a few questions/comments about parametrized types. Some I know has been discussed, but I still unclear on the outcome of those conversations. 1. If there is a type T.J,K, can T be referenced itself, or must it be referenced for some specific values of J and K? That is, can I say: T1 = T;