Package java.util
Interface Collection
abstract Object[] toArray()
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Returns an array containing all of the elements in this collection. If the collection makes any guarantees as to what order its elements are returned by its iterator, this method must retunr the elements inthe same order.
The returned array will be "safe" in that no references to it are maintained by this collection. The caller is thus free to modiry the retunred array.
This method acts as bridge between array-based and collextion-based API-s.