Re: Creating Java array of specific type

2010-10-25 Thread Kyle R. Burton
> If I have a seq of NameValuePair (a class in Apache HttpClient), how > do I get an array of that type (NameValuePair[])? I've tried a few > things but always got Object[]. Two quick ways are make-array and into-array: (make-array String 10) (into-array String ["this" "that"]) These both

Creating Java array of specific type

2010-10-25 Thread Hong Jiang
Hi, I have been able to find answer to this on Google, so here it is: If I have a seq of NameValuePair (a class in Apache HttpClient), how do I get an array of that type (NameValuePair[])? I've tried a few things but always got Object[]. Thanks. --Hong -- You received this message because you