Re: Java Generics - "super" keyword usage
Randall R Schulz <[email protected]>
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <[email protected]> |
On Thursday 20 September 2007 08:26, Jeff Kesselman wrote: > Avinash Lakshman wrote: > > class MyColumnSerializer implements ICompactSerializer<MyColumn> > > uhhh. I'm no generics expert by a long shot but is this correct > syntax? > > I've never seen a generic narrowed in an implements clause before... > . > JK Absolutely, it's allowed. Here's one from the Java standard types: java.lang ... public final class Character extends Object implements Serializable, Comparable<Character> Randall Schulz =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com