Re: A question about a generic method
- From: "Dave Mandelin" <mandelin@xxxxxxxxxxxxxxx>
- Date: 30 Mar 2006 11:00:29 -0800
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
.
- References:
- A question about a generic method
- From: Richard
- A question about a generic method
- Prev by Date: Re: File IO -- Reading Config Files Easily
- Next by Date: Re: ant, jar with selected directories
- Previous by thread: A question about a generic method
- Next by thread: Upload Images in JSP
- Index(es):