jeudi 22 mars 2018

Other ways to obtain `int[].class`?

I would like to obtain int[].class from Matlab. Unfortunately, Matlab does not allow this syntax. Simultaneously, I allows to call any Java functions or access static members as is.

For example, I can't call

int.class

but can

java.lang.Integer.TYPE

Is it possible to find int[].class somewhere in JDK API in the same way?





Aucun commentaire:

Enregistrer un commentaire