I was wondering how exactly to create an ArrayList of an array of objects. For example
Object[] objectArray = new Object() // Varying amount of object[]
I would like to add Object[] to an ArrayList as they come in. I have seen that an ArrayList of arrays can be created by the following:
ArrayList<String[]> action = new ArrayList<String[]>();
So I was thinking it would be as simple as:
ArrayList<objectArray[]> action = new ArrayList<objectArray[]>();
But apparently not.