Lines Matching refs:arr
502 Object arr[] = list.toArray();
506 swap(arr, i-1, rnd.nextInt(i));
510 for (int i=0; i<arr.length; i++) {
512 it.set(arr[i]);
538 private static void swap(Object[] arr, int i, int j) {
539 Object tmp = arr[i];
540 arr[i] = arr[j];
541 arr[j] = tmp;
1422 Object[] arr = c.toArray(a.length==0 ? a : Arrays.copyOf(a, 0));
1424 for (int i=0; i<arr.length; i++)
1425 arr[i] = new UnmodifiableEntry<>((Map.Entry<K,V>)arr[i]);
1427 if (arr.length > a.length)
1428 return (T[])arr;
1430 System.arraycopy(arr, 0, a, 0, arr.length);
1431 if (a.length > arr.length)
1432 a[arr.length] = null;
2776 T[] arr = s.toArray(a.length==0 ? a : Arrays.copyOf(a, 0));
2778 for (int i=0; i<arr.length; i++)
2779 arr[i] = (T) checkedEntry((Map.Entry<K,V>)arr[i],
2781 if (arr.length > a.length)
2782 return arr;
2784 System.arraycopy(arr, 0, a, 0, arr.length);
2785 if (a.length > arr.length)
2786 a[arr.length] = null;