This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Java array class is not kawa Class?
- From: "Yaroslav Kavenchuk" <kavenchuk at gmail dot com>
- To: "Jim White" <jim at pagesmiths dot com>
- Cc: kawa at sourceware dot org
- Date: Sat, 1 Mar 2008 11:37:14 +0200
- Subject: Re: Java array class is not kawa Class?
- References: <47C81471.6060100@gmail.com> <47C8942A.6020400@pagesmiths.com>
2008/3/1, Jim White wrote:
> > How to work with ArrayType? How get class of array element?
...
>
> ArrayType.getComponentType() gets the Type of the elements.
...
>
> If you're gonna dig around in such low-level stuff, it's probably a good
> idea to look at the Kawa source for such details.
I do not find how get ArrayType from array :(
#|kawa:6|# (instance? (integer[] 1 2):class gnu.bytecode.ArrayType)
false
I was looking bad?
> I've been lurking with interest on your efforts as I'm also working with
> OpenOffice, but I decided to integrate Groovy rather than Kawa.
> Although it's still pretty crude, you might want to check it out.
>
> http://www.ifcx.org/
I saw your project, and tried to use it.
Why did you choose Groovy rather than Kawa or Clojure?
Thanks for your answer!
--
WBR, Yaroslav Kavenchuk.