Hello,
I have a hashtable of keys/values where the keys are strings and the values are 2D String arrays, String[][].
If I pull a value, String[][], on a given key String, I get a result of type Object. I need to, I guess, cast this Object to a String[][] because I need to pass it so some method
If I code something like:
I get "the method doSomething(Object)" is undefined.
I tried casting too, with a (String[][]) but that didnt work.
Any suggestions?
I have a hashtable of keys/values where the keys are strings and the values are 2D String arrays, String[][].
If I pull a value, String[][], on a given key String, I get a result of type Object. I need to, I guess, cast this Object to a String[][] because I need to pass it so some method
Code:
void doSomething(String[][]){}
If I code something like:
Code:
doSomething(hashtable.get("key"));
I tried casting too, with a (String[][]) but that didnt work.
Any suggestions?