Type parameter as bound of another type parameter
Hi,
class MyClass<T>{
public <Uextends T & Comparable> MyClass<U> get(){}
}
If you use a type parameter as a bound of another type parameter,
then you can't use any other bounds on that parameter.
Is it because you could end up with a type which could inherit from
two classes ?
If the answer is yes, then I guess the compiler doesn't bother to check
whether all other bounds are ONLY interfaces, so it could allow to do so,
because the benefit would be to little and it could be bug-prone ?
Thanks,
Adrian

