Clear Filters
Clear Filters

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

3 views (last 30 days)
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).

Answers (0)

Community Treasure Hunt

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

Start Hunting!