Re: Is it possible to extend a parameterized type using gen-class?

2012-03-28 Thread Jim Blomo
sim, I don't think it is possible right now. I am not an expert, but... On Fri, Mar 2, 2012 at 5:04 AM, Daniel Solano Gomez cloj...@sattvik.com wrote: Yes, it is possible.  At the byte-code level there is (at least at run-time) no difference between a generic and a non-generic class.  All

Re: Is it possible to extend a parameterized type using gen-class?

2012-03-04 Thread sim
Hi Daniel, Thanks for that but what if the type your extending is parameterised? For example using your example: (ns ExampleCollection (:gen-class :extends java.util.AbstractCollectionSomeItemType)) How do I do the SomeItemType bit? Forgive me if this is obvious my java foo is weak :)

Re: Is it possible to extend a parameterized type using gen-class?

2012-03-02 Thread Daniel Solano Gomez
On Thu Mar 1 21:53 2012, sim wrote: Hi all, This has me stumped and I found another message: https://groups.google.com/forum/?fromgroups#!searchin/clojure/parameterised$20type/clojure/8YxzIYXH49c/xCxkMaGXBzUJ that says it isn't possible, but that was back in 2009, is it still not

Is it possible to extend a parameterized type using gen-class?

2012-03-01 Thread sim
Hi all, This has me stumped and I found another message: https://groups.google.com/forum/?fromgroups#!searchin/clojure/parameterised$20type/clojure/8YxzIYXH49c/xCxkMaGXBzUJ that says it isn't possible, but that was back in 2009, is it still not possible? Any work arounds apart from doing