Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Sorry to be pedantic, but your samples should be of the form List<Object> l and List<?> l. I almost voted down an answer that copied and pasted what you have before I realized that is what he did. Commented Jan 29, 2009 at 3:40
  • 18
    Hi buddy first of all congratulation for very good question. Secondly you haven't accepted any answer yet, are you looking for some more answers or you are not satisfied with the answers? Commented Feb 27, 2013 at 5:35
  • 1
    @Logicalj I guess he isn't planning on coming back. He was last seen in 2013. Pity that all that reputation goes to waste... Commented Mar 12, 2017 at 23:25