how to downcast a jobjectArray to an array of my own classes???
Marco Feuerstein
marco.feuerstein@web.de
Tue Jul 2 15:07:00 GMT 2002
Hi folks,
sorry, if this question may be a bit banal to you, but I'm having
following problem:
I'm instantiating a jobjectArray myArray like this:
jobjectArray myArray;
Later on I'm assigning an array of Nodes (where Node is my own Java
class) doing an upcast:
myArray = (jobjectArray) someClass->getNodes(blah);
Well, now I have an array of objects. My problem is that I need an array
of Nodes for my next operation.
How can I downcast myArray to an array of Nodes?
Thank you so much!
Regards
Marco
More information about the Java
mailing list