Is it possible to store a whole array as a node in a linked list. I am using the Linked List collection java provides and I keep getting an error for the following code.
List<Object[]> params = new LinkedList<Object[]>();
params.add(new Object[] { "ahhsjhs", {"jsdjdsk","djksdjsdk"}, true});
Type mismatch: cannot convert from String[] to Object
params.add(new Object[]{"ahhsjhs", new String[]{"jsdjdsk", "djksdjsdk"}, true});but are you sure you want this structure of data, I would suggest to use classes to store this type of data!