Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Why don't you use Object[][] directly for datas? Commented Mar 30, 2014 at 11:51
  • Also, return new datas.toArray(); is not a valid statement (new should probably be removed) Commented Mar 30, 2014 at 11:53
  • because I get params from another object where I prefere to use ArrayList but I try this solution, and let you know what comes from it... And yes the new had nothing to do here, thanks Commented Mar 30, 2014 at 11:54