Proposal: Access to Generic Type Parameters at Compile-Time

Mark Mahieu markmahieu at googlemail.com
Tue Mar 17 09:22:18 PDT 2009


Hi David,

On 17 Mar 2009, at 02:37, David Walend wrote:
>
> interface Path<ThruGraph extends Digraph>
>      extends Digraph<ThruGraph.Node,ThruGraph.Edge>
>      {
>          ThruGraph.Node getHead();
>          ...
>      }

So, if I were the author of Digraph and I decided to rename its type  
parameters (to N and E for example), your Path interface would no  
longer compile?

Mark




More information about the coin-dev mailing list