How do I return an array of objects in java?
What is the data structure that you have?
toArray()
toArray(T[] a)