java.util.PriorityQueue.toArray(T[] a) Method Example
Description The toArray(T[] a) method is used to return an array containing all of the elements in this queue. Declaration Following is the declaration for java.util.PriorityQueue.toArray() method. public T[] toArray(T[] a) Parameters a--The array into w
www.tutorialspoint.com |