can we convert com.mathwo​rks.toolbo​x.javabuil​der.MWArra​y to java.lang.object?

1 次查看(过去 30 天)
com.mathworks.toolbox.javabuilder.MWArray to java.lang.Object ??

回答(2 个)

Yair Altman
Yair Altman 2012-8-6
Every Java object, whatever its class is, is also automatically a java.lang.Object, since Object is the top superclass of all Java classes.

Titus Edelhofer
Titus Edelhofer 2012-8-6
编辑:Walter Roberson 2012-8-6
Hi,
this is a rather general question, so here a rather general answer: you might want to take a look at the toArray method ( http://www.mathworks.de/help/toolbox/javabuilder/MWArrayAPI/index.html).
Titus

类别

Help CenterFile Exchange 中查找有关 Java Package Integration 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by