Home | History | Annotate | Download | only in concurrent

Lines Matching refs:toArray

52  * <tt>Arrays.sort(pq.toArray())</tt>.  Also, method <tt>drainTo</tt>
368 @Override public Object[] toArray() {
372 return q.toArray();
471 * <p>Like the {@link #toArray()} method, this method acts as bridge between
481 * String[] y = x.toArray(new String[0]);</pre>
483 * <p>Note that <tt>toArray(new Object[0])</tt> is identical in function to
484 * <tt>toArray()</tt>.
495 @Override public <T> T[] toArray(T[] a) {
499 return q.toArray(a);
518 return new Itr(toArray());
545 // array comes from q.toArray() and so should have only E's in it