Java Virtal Machine.net

[ News ] rss

July 13, 2007

Enterprise Systems: The New Bounce in Sun’s Step. Don’t look now, but Sun Microsystems Inc. has a new bounce in its step. From its recent...

More »

June 24, 2007

Jazoon'07. Jazoon'07 brings together experts and users of Java and open source technologies from all...

More »

January/2007
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28293031   

[ Archives News ]

home > news > january 02, 2007

January 02, 2007

Code Tip: Statically Check Multiple Interfaces

category: Developers

You may think generics is all about avoiding casts in collections. However, I found a really good use for them the other day that's pretty useful. Let's say you have a method which takes a List and does something with it. void doSomething(List list) { ... } (In my code, it's actually List, but I'm trying to keep other generics out of this to...

More »

©2002-2008Java-Virtual-Machine.net :Java Archive: :Solve Crosswords de fr ru pt es it: :Free PC Download: :Micrometer: