SyntaxFix
Write A Post
Hire A Developer
Questions
Where x is the collection:
x
Foo[] foos = x.toArray(new Foo[x.size()]);