Scala: how do I access a Class[?0] type?
I have a Array like this:
Array[(String, Class[?0], Object) forSome { type ?0 }] = Array((a,class
java.lang.String,word))
I need to access what is represented by "?0" and get a string
representation of the class (e.g. "java.lang.String", "int", "boolean",
ecc..)
How can I do it?
No comments:
Post a Comment