Since generics are only at compile time, you should be able to pass them 
straight in via Clojure. 
What is the specific code that's causing the problem?
~~ Robert Fischer, Smokejumper IT Consulting.
Enfranchised Mind Blog http://EnfranchisedMind.com/blog

Check out my book, "Grails Persistence with GORM and GSQL"!
http://www.smokejumperit.com/gormbook


Bob Shock wrote:
> If I have a Java function that uses List<Integer> or
> Map<String,Integer>, is there anyway to create these in Clojure the
> same way I can create vectors or maps?
> 
> For example, if a function signature is:
> 
> void foobar(List x, Map y)
> 
> I can pass standard vectors and maps to it, but I can't figure out how
> to do the same for this function:
> 
> void foobar(List<Int> x, Map<String,Integer> y)
> 
> Thanks.
> 
> > 
> 

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to