/libcore/ojluni/src/main/java/java/util/ |
H A D | AbstractCollection.java | 131 * return list.toArray(); 134 public Object[] toArray() { method in class:AbstractCollection 167 * return list.toArray(a); 174 public <T> T[] toArray(T[] a) { method in class:AbstractCollection 211 * Reallocates the array being used within toArray when the iterator
|
H A D | Collection.java | 207 Object[] toArray(); method in interface:Collection 227 * <p>Like the {@link #toArray()} method, this method acts as bridge between 237 * String[] y = x.toArray(new String[0]);</pre> 239 * Note that <tt>toArray(new Object[0])</tt> is identical in function to 240 * <tt>toArray()</tt>. 252 <T> T[] toArray(T[] a); method in interface:Collection
|
H A D | Set.java | 146 Object[] toArray(); method in interface:Set 166 * <p>Like the {@link #toArray()} method, this method acts as bridge between 176 * String[] y = x.toArray(new String[0]);</pre> 178 * Note that <tt>toArray(new Object[0])</tt> is identical in function to 179 * <tt>toArray()</tt>. 190 <T> T[] toArray(T[] a); method in interface:Set
|
H A D | List.java | 170 Object[] toArray(); method in interface:List 186 * <p>Like the {@link #toArray()} method, this method acts as bridge between 196 * String[] y = x.toArray(new String[0]); 199 * Note that <tt>toArray(new Object[0])</tt> is identical in function to 200 * <tt>toArray()</tt>. 211 <T> T[] toArray(T[] a); method in interface:List 444 * Object[] elements = toArray(); 499 Object[] a = this.toArray();
|
H A D | EnumMap.java | 496 public Object[] toArray() { method in class:EnumMap.EntrySet 500 public <T> T[] toArray(T[] a) { method in class:EnumMap.EntrySet
|
H A D | ArrayDeque.java | 765 public Object[] toArray() { method in class:ArrayDeque 789 * <p>Like the {@link #toArray()} method, this method acts as bridge between 798 * <pre> {@code String[] y = x.toArray(new String[0]);}</pre> 800 * Note that {@code toArray(new Object[0])} is identical in function to 801 * {@code toArray()}. 813 public <T> T[] toArray(T[] a) { method in class:ArrayDeque
|
H A D | Arrays.java | 3712 * combination with {@link Collection#toArray}. The returned list is 3750 public Object[] toArray() { method in class:Arrays.ArrayList 3756 public <T> T[] toArray(T[] a) { method in class:Arrays.ArrayList
|
H A D | PriorityQueue.java | 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() { method in class:PriorityQueue 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( method in class:PriorityQueue [all...] |
/libcore/ojluni/src/main/java/sun/security/jca/ |
H A D | GetInstance.java | 59 public Object[] toArray() { method in class:GetInstance.Instance
|
H A D | ProviderList.java | 107 return new ProviderList(list.toArray(PC0), true); 191 configs = configList.toArray(PC0); 220 ProviderConfig[] configArray = newConfigs.toArray(PC0); 314 public Provider[] toArray() { method in class:ProviderList 315 return providers().toArray(P0);
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | CopyOnWriteArraySet.java | 177 public Object[] toArray() { method in class:CopyOnWriteArraySet 178 return al.toArray(); 199 * <p>Like the {@link #toArray()} method, this method acts as bridge between 208 * <pre> {@code String[] y = x.toArray(new String[0]);}</pre> 210 * Note that {@code toArray(new Object[0])} is identical in function to 211 * {@code toArray()}. 222 public <T> T[] toArray(T[] a) { method in class:CopyOnWriteArraySet 223 return al.toArray(a);
|
H A D | DelayQueue.java | 428 public Object[] toArray() { method in class:DelayQueue 432 return q.toArray(); 451 * <p>Like the {@link #toArray()} method, this method acts as bridge between 459 * <pre> {@code Delayed[] a = q.toArray(new Delayed[0]);}</pre> 461 * Note that {@code toArray(new Object[0])} is identical in function to 462 * {@code toArray()}. 473 public <T> T[] toArray(T[] a) { method in class:DelayQueue 477 return q.toArray(a); 526 return new Itr(toArray());
|
H A D | ConcurrentLinkedQueue.java | 87 * {@code equals}, and {@code toArray} are <em>not</em> guaranteed 630 public Object[] toArray() { method in class:ConcurrentLinkedQueue 646 * <p>Like the {@link #toArray()} method, this method acts as bridge between 655 * <pre> {@code String[] y = x.toArray(new String[0]);}</pre> 657 * Note that {@code toArray(new Object[0])} is identical in function to 658 * {@code toArray()}. 670 public <T> T[] toArray(T[] a) { method in class:ConcurrentLinkedQueue
|
H A D | CopyOnWriteArrayList.java | 141 elements = c.toArray(); 142 // defend against c.toArray (incorrectly) not returning Object[] 324 public Object[] toArray() { method in class:CopyOnWriteArrayList 344 * <p>Like the {@link #toArray()} method, this method acts as bridge between 353 * <pre> {@code String[] y = x.toArray(new String[0]);}</pre> 355 * Note that {@code toArray(new Object[0])} is identical in function to 356 * {@code toArray()}. 368 public <T> T[] toArray(T[] a) { method in class:CopyOnWriteArrayList 729 Object[] cs = c.toArray(); 774 ((CopyOnWriteArrayList<?>)c).getArray() : c.toArray(); [all...] |
H A D | LinkedBlockingQueue.java | 594 public Object[] toArray() { method in class:LinkedBlockingQueue 620 * <p>Like the {@link #toArray()} method, this method acts as bridge between 629 * <pre> {@code String[] y = x.toArray(new String[0]);}</pre> 631 * Note that {@code toArray(new Object[0])} is identical in function to 632 * {@code toArray()}. 644 public <T> T[] toArray(T[] a) { method in class:LinkedBlockingQueue
|
H A D | PriorityBlockingQueue.java | 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() { method in class:PriorityBlockingQueue 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) { method in class:PriorityBlockingQueue 855 return new Itr(toArray()); [all...] |
/libcore/ojluni/src/main/java/java/util/stream/ |
H A D | DoubleStream.java | 320 double[] toArray(); method in interface:DoubleStream
|
H A D | Stream.java | 524 Object[] toArray(); method in interface:Stream 542 * .toArray(Person[]::new); 553 <A> A[] toArray(IntFunction<A[]> generator); method in interface:Stream
|
H A D | DoublePipeline.java | 506 public final double[] toArray() { method in class:DoublePipeline
|
H A D | IntPipeline.java | 502 public final int[] toArray() { method in class:IntPipeline
|
H A D | IntStream.java | 315 int[] toArray(); method in interface:IntStream
|
H A D | LongPipeline.java | 484 public final long[] toArray() { method in class:LongPipeline
|
H A D | LongStream.java | 319 long[] toArray(); method in interface:LongStream
|
H A D | ReferencePipeline.java | 429 public final <A> A[] toArray(IntFunction<A[]> generator) { method in class:ReferencePipeline 445 public final Object[] toArray() { method in class:ReferencePipeline 446 return toArray(Object[]::new);
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | OldCollectionsTest.java | 397 public Object[] toArray() { method in class:OldCollectionsTest.Mock_Collection 401 public Object[] toArray(Object[] a) { method in class:OldCollectionsTest.Mock_Collection 453 public Object[] toArray() { method in class:OldCollectionsTest.Mock_WrongCollection 457 public Object[] toArray(Object[] a) { method in class:OldCollectionsTest.Mock_WrongCollection 716 : Arrays.equals(a.toArray(), b.toArray());
|