Re: A question about a generic method



I don't know either. I do know the type inference has more freedom with
the actual definition, because it can infer T to either Person or
Employee in your example, but I couldn't find a case where it actually
made a difference. Anyone know?

--
Need to get from a Foo object to a Bar object in Java?
Ask Prospector: http://snobol.cs.berkeley.edu
Want to play tabletop RPGs over the internet?
Check out Koboldsoft RPZen: http://www.koboldsoft.com

.