The part within brackets does not exist outside the Java compiler, i.e. at
the bytecode level, it is really just a Collection, not a Collection<?
extends E>.

If you're interested, you can google "java type erasure" to learn more
about this.

On Wednesday, 27 January 2016, Ritchie Cai <ritchie...@gmail.com> wrote:

> Ahh, thanks. I was wondering how to specify Collection
> <https://docs.oracle.com/javase/7/docs/api/java/util/Collection.html><?
> extends E
> <https://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html>>,
> but looks like just Collection will work.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to