Oups I did read the code entirely... you defined a varg method ?
On Tue, 13 Sep 2011 21:34:33 -0400 Luc Prefontaine <[email protected]> wrote: > user=> (class (into-array String ["s" "a"])) > [Ljava.lang.String; > > Luc P. > > > On Tue, 13 Sep 2011 18:21:31 -0700 (PDT) > ron peterson <[email protected]> wrote: > > > I have a following API call that I need to make from Clojure: > > > > class A > > > > doSomething(java.lang.String arg1, String... args) > > > > so I tried > > > > (def a (new A)) ;this works > > > > (.doSomething a "abc" "efg" "hij") > > > > ;this doesn't work giving me no matching method found: doSomething > > for class A > > > > > -- Luc P. ================ The rabid Muppet -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
