Need to declare and access a Java Generic Variable in Matlab!

3 次查看(过去 30 天)
I want to declare and access a Java Generic type (it's an avro command) SpecificDatumWriter<User> userDatumWriter = new SpecificDatumWriter<User>(User.class); in MATLAB. I can declare normal java variables - but am having trouble with this java declaration in MATLAB. Any help?
Here SpecificDatumWriter is a special function of the avro package, and User.class is a custom class (built with avro sepcifications).

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call Java from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by