This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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?
#|kawa:9|# (java.lang.Class:isArray (integer[] 1 2):class) true #|kawa:10|# (java.lang.Class:getComponentType (integer[] 1 2):class) class gnu.math.IntNum
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?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |