I have an object that is of type Object[]. All elements of the array are actually Object[] objects. So essentially it looks like this
Object[] oneD = {objectArray1, objectArray2, objectArray3, ...}
I want to cast this to an Object[][], like this:
Object[][] twoD = (Object[][])oneD;
but I get compiler errors and ClassCastException's.
Is there a (correct) way to do this?
Object[][] asdf.