toArray public Object[] toArray() Returns an array containing all of the elements in this list in proper sequence. Obeys the general contract of the Collection.toArray method. Specified by: toArray in interface Collection Returns: an array containing all of the elements in this list in proper sequence. See Also: Arrays.asList(Object[])
public Object[] toArray()
Returns an array containing all of the elements in this list in proper sequence. Obeys the general contract of the Collection.toArray method. Specified by:
toArray in interface Collection
Returns:
an array containing all of the elements in this list in proper sequence.
See Also:
Arrays.asList(Object[])