Lines Matching defs:toArray
73 * {@code Arrays.sort(pq.toArray())}. Also, method {@code drainTo}
263 Object[] a = c.toArray();
265 // If c.toArray incorrectly doesn't return Object[], copy it.
782 public Object[] toArray() {
805 * <p>Like the {@link #toArray()} method, this method acts as bridge between
814 * <pre> {@code String[] y = x.toArray(new String[0]);}</pre>
816 * Note that {@code toArray(new Object[0])} is identical in function to
817 * {@code toArray()}.
828 public <T> T[] toArray(T[] a) {
855 return new Itr(toArray());
934 // commitment to toArray until needed
952 hi = fence = (array = queue.toArray()).length;
968 fence = (a = queue.toArray()).length;