@Test public void testSuccess() { for (int k = 0; k < 10; k++) { int N = 10000; int[] arr = new int[N], arr2 = new int[N]; Random r = new Random(); for (int i = 0; i < N; i++) { arr2[i] = arr[i] = r.nextInt(N); } shuffle(arr); Assert.assertEquals(true, PermutationSame.same(arr, arr2)); } }
public static boolean same(int[] a, int[] b) { return false; }
PermutationSame { public static boolean same(int[] a, int[] b) { return false; } }
PermutationSame { public static boolean same(int[] a, int[] b) { return false; }  }
PermutationSame { public static boolean same(int[] a, int[] b) { return false; }  static boolean same(int[] a, int[] b); }
PermutationSame { public static boolean same(int[] a, int[] b) { return false; }  static boolean same(int[] a, int[] b);  }