/libcore/luni/src/main/java/java/util/ |
H A D | AbstractCollection.java | 338 public Object[] toArray() { method in class:AbstractCollection 339 return toArrayList().toArray(); 342 public <T> T[] toArray(T[] contents) { method in class:AbstractCollection 343 return toArrayList().toArray(contents);
|
H A D | Collection.java | 292 public Object[] toArray(); method in interface:Collection 304 * {@code toArray(new Object[0])} behaves exactly the same way as 305 * {@code toArray()} does. 315 public <T> T[] toArray(T[] array); method in interface:Collection
|
H A D | Set.java | 178 public Object[] toArray(); method in interface:Set 193 * @see Collection#toArray(Object[]) 195 public <T> T[] toArray(T[] array); method in interface:Set
|
H A D | List.java | 341 public Object[] toArray(); method in interface:List 357 public <T> T[] toArray(T[] array); method in interface:List
|
H A D | ArrayDeque.java | 731 public Object[] toArray() { method in class:ArrayDeque 748 * <p>Like the {@link #toArray()} method, this method acts as bridge between 757 * <pre> {@code String[] y = x.toArray(new String[0]);}</pre> 759 * Note that <tt>toArray(new Object[0])</tt> is identical in function to 760 * <tt>toArray()</tt>. 772 public <T> T[] toArray(T[] a) { method in class:ArrayDeque
|
H A D | ArrayList.java | 97 Object[] a = collection.toArray(); 188 Object[] newPart = collection.toArray(); 228 Object[] newPart = collection.toArray(); 494 @Override public Object[] toArray() { method in class:ArrayList 516 @Override public <T> T[] toArray(T[] contents) { method in class:ArrayList
|
H A D | Arrays.java | 119 public Object[] toArray() { method in class:Arrays.ArrayList 125 public <T> T[] toArray(T[] contents) { method in class:Arrays.ArrayList
|
H A D | EnumMap.java | 353 public Object[] toArray() { method in class:EnumMap.EnumMapEntrySet 355 return toArray(entryArray); 359 public <T> T[] toArray(T[] array) { method in class:EnumMap.EnumMapEntrySet
|
H A D | Vector.java | 971 public synchronized Object[] toArray() { method in class:Vector 993 public synchronized <T> T[] toArray(T[] contents) { method in class:Vector
|
H A D | LinkedList.java | 922 public Object[] toArray() { method in class:LinkedList 950 public <T> T[] toArray(T[] contents) { method in class:LinkedList
|
H A D | Hashtable.java | 951 public Object[] toArray() { method in class:Hashtable.KeySet 953 return super.toArray(); 956 public <T> T[] toArray(T[] a) { method in class:Hashtable.KeySet 958 return super.toArray(a); 986 public Object[] toArray() { method in class:Hashtable.Values 988 return super.toArray(); 991 public <T> T[] toArray(T[] a) { method in class:Hashtable.Values 993 return super.toArray(a); 1048 public Object[] toArray() { method in class:Hashtable.EntrySet 1050 return super.toArray(); 1053 public <T> T[] toArray(T[] a) { method in class:Hashtable.EntrySet [all...] |
H A D | Collections.java | 448 @Override public java.lang.Object[] toArray() { method in class:Collections.SynchronizedCollection 450 return c.toArray(); 460 @Override public <T> T[] toArray(T[] array) { method in class:Collections.SynchronizedCollection 462 return c.toArray(array); 557 list.toArray(array); 581 list.toArray(array); 989 @Override public Object[] toArray() { method in class:Collections.UnmodifiableCollection 990 return c.toArray(); 993 @Override public <T> T[] toArray(T[] array) { method in class:Collections.UnmodifiableCollection 994 return c.toArray(arra 1215 @Override public Object[] toArray() { method in class:Collections.UnmodifiableMap.UnmodifiableEntrySet 1226 @Override public <T> T[] toArray(T[] contents) { method in class:Collections.UnmodifiableMap.UnmodifiableEntrySet 2731 @Override public Object[] toArray() { method in class:Collections.SetFromMap 2736 public <T> T[] toArray(T[] contents) { method in class:Collections.SetFromMap 2827 @Override public Object[] toArray() { method in class:Collections.AsLIFOQueue 2831 @Override public <T> T[] toArray(T[] contents) { method in class:Collections.AsLIFOQueue 2881 @Override public Object[] toArray() { method in class:Collections.CheckedCollection 2885 @Override public <T> T[] toArray(T[] arr) { method in class:Collections.CheckedCollection 3239 @Override public Object[] toArray() { method in class:Collections.CheckedMap.CheckedEntrySet 3250 @Override public <T> T[] toArray(T[] array) { method in class:Collections.CheckedMap.CheckedEntrySet [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | CopyOnWriteArraySet.java | 133 public Object[] toArray() { method in class:CopyOnWriteArraySet 134 return al.toArray(); 155 * <p>Like the {@link #toArray()} method, this method acts as bridge between 164 * <pre> {@code String[] y = x.toArray(new String[0]);}</pre> 166 * Note that {@code toArray(new Object[0])} is identical in function to 167 * {@code toArray()}. 178 public <T> T[] toArray(T[] a) { method in class:CopyOnWriteArraySet 179 return al.toArray(a);
|
H A D | DelayQueue.java | 395 public Object[] toArray() { method in class:DelayQueue 399 return q.toArray(); 418 * <p>Like the {@link #toArray()} method, this method acts as bridge between 426 * <pre> {@code Delayed[] a = q.toArray(new Delayed[0]);}</pre> 428 * Note that {@code toArray(new Object[0])} is identical in function to 429 * {@code toArray()}. 440 public <T> T[] toArray(T[] a) { method in class:DelayQueue 444 return q.toArray(a); 497 return new Itr(toArray());
|
H A D | ConcurrentLinkedQueue.java | 54 * {@code equals}, and {@code toArray} are <em>not</em> guaranteed 549 public Object[] toArray() { method in class:ConcurrentLinkedQueue 557 return al.toArray(); 572 * <p>Like the {@link #toArray()} method, this method acts as bridge between 581 * <pre> {@code String[] y = x.toArray(new String[0]);}</pre> 583 * Note that {@code toArray(new Object[0])} is identical in function to 584 * {@code toArray()}. 596 public <T> T[] toArray(T[] a) { method in class:ConcurrentLinkedQueue 618 return al.toArray(a);
|
H A D | CopyOnWriteArrayList.java | 91 this((E[]) collection.toArray()); 223 public Object[] toArray() { method in class:CopyOnWriteArrayList 228 public <T> T[] toArray(T[] contents) { method in class:CopyOnWriteArrayList 287 Object[] toAdd = collection.toArray(); 307 Object[] toAdd = collection.toArray();
|
H A D | LinkedBlockingQueue.java | 566 public Object[] toArray() { method in class:LinkedBlockingQueue 592 * <p>Like the {@link #toArray()} method, this method acts as bridge between 601 * <pre> {@code String[] y = x.toArray(new String[0]);}</pre> 603 * Note that {@code toArray(new Object[0])} is identical in function to 604 * {@code toArray()}. 616 public <T> T[] toArray(T[] a) { method in class:LinkedBlockingQueue
|
H A D | PriorityBlockingQueue.java | 34 * {@code Arrays.sort(pq.toArray())}. Also, method {@code drainTo} 224 Object[] a = c.toArray(); 226 // If c.toArray incorrectly doesn't return Object[], copy it. 685 public Object[] toArray() { method in class:PriorityBlockingQueue 784 * <p>Like the {@link #toArray()} method, this method acts as bridge between 793 * <pre> {@code String[] y = x.toArray(new String[0]);}</pre> 795 * Note that {@code toArray(new Object[0])} is identical in function to 796 * {@code toArray()}. 807 public <T> T[] toArray(T[] a) { method in class:PriorityBlockingQueue 838 return new Itr(toArray()); [all...] |
H A D | LinkedBlockingDeque.java | 861 public Object[] toArray() { method in class:LinkedBlockingDeque 887 * <p>Like the {@link #toArray()} method, this method acts as bridge between 896 * <pre> {@code String[] y = x.toArray(new String[0]);}</pre> 898 * Note that {@code toArray(new Object[0])} is identical in function to 899 * {@code toArray()}. 911 public <T> T[] toArray(T[] a) { method in class:LinkedBlockingDeque
|
H A D | ArrayBlockingQueue.java | 512 public Object[] toArray() { method in class:ArrayBlockingQueue 539 * <p>Like the {@link #toArray()} method, this method acts as bridge between 548 * <pre> {@code String[] y = x.toArray(new String[0]);}</pre> 550 * Note that {@code toArray(new Object[0])} is identical in function to 551 * {@code toArray()}. 563 public <T> T[] toArray(T[] a) { method in class:ArrayBlockingQueue
|
H A D | ConcurrentLinkedDeque.java | 44 * {@code equals}, and {@code toArray} are <em>not</em> guaranteed 788 * Used by toArray. 1196 public Object[] toArray() { method in class:ConcurrentLinkedDeque 1197 return toArrayList().toArray(); 1213 * <p>Like the {@link #toArray()} method, this method acts as 1223 * <pre> {@code String[] y = x.toArray(new String[0]);}</pre> 1225 * Note that {@code toArray(new Object[0])} is identical in function to 1226 * {@code toArray()}. 1237 public <T> T[] toArray(T[] a) { method in class:ConcurrentLinkedDeque 1238 return toArrayList().toArray( [all...] |
H A D | ScheduledThreadPoolExecutor.java | 341 for (Object e : q.toArray()) 348 for (Object e : q.toArray()) { 1219 public Object[] toArray() { method in class:ScheduledThreadPoolExecutor.DelayedWorkQueue 1230 public <T> T[] toArray(T[] a) { method in class:ScheduledThreadPoolExecutor.DelayedWorkQueue
|
H A D | SynchronousQueue.java | 1056 public Object[] toArray() { method in class:SynchronousQueue 1068 public <T> T[] toArray(T[] a) { method in class:SynchronousQueue
|
/libcore/luni/src/main/java/java/nio/ |
H A D | SelectorImpl.java | 393 public Object[] toArray() { method in class:SelectorImpl.UnaddableSet 394 return set.toArray(); 397 public <T> T[] toArray(T[] a) { method in class:SelectorImpl.UnaddableSet 398 return set.toArray(a);
|
/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());
|