I have seen the discussion initiated by Dav Marzek in April 2008 on Multidimensional ArrayList to an Object[][] array.
I need a solution with a re-entrant function including the ArrayList.toArray(), because the objects of my ArrayLists
- are situated at various level of the multidimensional structure (up to 8) (not a square ArrayList),
- are of various types :
String, Boolean, BigDecimal and sometimes null
- are very numerous
I need to pass this ArrayList to an method of an API class that needing a primitive Object[][][]...
Does anybody have written such a reentrant method yet ?
Thanks by advance