| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ] |
| Articles |
- Java theory and practice: Going wild with generics, Part 2 by Brian Goetz - [Clicks: 4]
Wildcards can be very confusing when it comes to generics in the Java language, and one of the most common mistakes is to fail to use one of the two forms of bounded wildcards ("? super T" and "? extends T") when needed. You've made this mistake? Don't feel bad, even the experts have, and this month Brian Goetz shows you how to avoid it.
http://www.ibm.com/developerworks/java/library/j-jtp07018.html - Jul, 2008 - Java theory and practice: Going wild with generics by Brian Goetz - [Clicks: 5]
One of the most complicated aspects of generics in the Java language is wildcards, and in particular, the treatment and confusing error messages surrounding wildcard capture. In this installment of Java theory and practice, veteran Java developer Brian Goetz deciphers some of the weirder-looking error messages emitted by javac and offers some tricks and workarounds that can simplify using generics.
http://www.ibm.com/developerworks/java/library/j-jtp04298.html - May, 2008