Re: Java Generics - "super" keyword usage
Olivier Lefevre <[email protected]>
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <[email protected]> |
> public static HashSet<T> newHashSet() { return new HashSet<T>(); }
That should be 'public static <T> HashSet<T> newHashSet()' of course
(forgot the <T>).
-- O.L.
===================================
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com