Lines Matching defs:toArray
59 * traversal, consider using {@code Arrays.sort(pq.toArray())}.
247 this.queue = c.toArray();
255 Object[] a = c.toArray();
256 // If c.toArray incorrectly doesn't return Object[], copy it.
425 public Object[] toArray() {
442 * <p>Like the {@link #toArray()} method, this method acts as bridge between
451 * <pre> {@code String[] y = x.toArray(new String[0]);}</pre>
453 * Note that {@code toArray(new Object[0])} is identical in function to
454 * {@code toArray()}.
466 public <T> T[] toArray(T[] a) {