| Other |
|---|
| 5.0 b48Fixed |
|
Relates :
|
See http://forum.java.sun.com/thread.jsp?forum=316&thread=496028
The following program fragment fails to compile
void f(List<Integer> li, List<String> ls) {
if (li.getClass() == ls.getClass())
;
}
because the intersection of Class<List<Integer>> and Class<List<String>> is
empty.
|