Hi,
I'm trying to pass the class type to a function and I'm getting an error if I try to pass:
but I only get the unchecked warnings if I change it to:
How can I pass the proper type Vector<String> to a function?
I'm trying to pass the class type to a function and I'm getting an error if I try to pass:
Code:
Func( Vector<String>.class );
Code:
Func( Vector.class );