Proposal: Accepting a subclass as an element type in a for loop

Joseph D. Darcy Joe.Darcy at Sun.COM
Thu May 14 22:23:14 PDT 2009


Jean-Louis Ardoint wrote:
> I'm maybe a bit too late. Here's my proposal anyway.
>
>  
>
> -- Jean-Louis Ardoint
>
>  
>
> Accepting a subclass as an element type in a for loop
>
>  
>   

Catching up on proposal comments, I agree with the previous replies on 
the list that this scenario is more than adequately handled by filtering 
library methods.

FYI, one class implementing these kinds of filters in the JDK is 
javax.lang.model.util.ElementFilter.

-Joe



More information about the coin-dev mailing list