Home
last modified time | relevance | path

Searched refs:shuffle (Results 1 – 25 of 30) sorted by relevance

12

/libcore/benchmarks/src/benchmarks/regression/
DPriorityQueueBenchmark.java49 Collections.shuffle(allElements, random); in setUp()
66 Collections.shuffle(seekElements, random); in setUp()
/libcore/ojluni/src/test/java/util/Collections/
DFrequency.java49 Collections.shuffle(list); in test()
DReverseOrder2.java76 Collections.shuffle(list); in test()
98 Collections.shuffle(list); in test2()
DNullComparator.java43 Collections.shuffle(list); in main()
DDisjoint.java55 Collections.shuffle(list); in main()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestChronoLocalDate.java102 Collections.shuffle(copy); in test_date_comparator_checkGenerics_ISO()
126 Collections.shuffle(copy);
/libcore/ojluni/src/test/java/util/PriorityQueue/
DPriorityQueueSort.java67 Collections.shuffle(shuffled); in main()
/libcore/jsr166-tests/src/test/java/jsr166/
DCopyOnWriteArraySetTest.java232 Collections.shuffle(Arrays.asList(elements)); in testIterator()
319 Collections.shuffle(Arrays.asList(elements)); in testToArray()
347 Collections.shuffle(Arrays.asList(elements)); in testToArray2()
DForkJoinTaskTest.java904 Collections.shuffle(Arrays.asList(tasks));
942 Collections.shuffle(Arrays.asList(tasks));
964 Collections.shuffle(taskList);
1574 Collections.shuffle(Arrays.asList(tasks));
1612 Collections.shuffle(Arrays.asList(tasks));
1634 Collections.shuffle(taskList);
DCopyOnWriteArrayListTest.java271 Collections.shuffle(Arrays.asList(elements)); in testIterator()
439 Collections.shuffle(Arrays.asList(elements)); in testToArray()
467 Collections.shuffle(Arrays.asList(elements)); in testToArray2()
DForkJoinTask8Test.java928 Collections.shuffle(Arrays.asList(tasks));
955 Collections.shuffle(Arrays.asList(tasks));
982 Collections.shuffle(Arrays.asList(tasks));
DConcurrentHashMap8Test.java414 Collections.shuffle(Arrays.asList(elements)); in testIterator()
504 Collections.shuffle(Arrays.asList(elements)); in testToArray()
534 Collections.shuffle(Arrays.asList(elements)); in testToArray2()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCopyOnWriteArraySetTest.java254 shuffle(elements); in testIterator()
341 shuffle(elements); in testToArray()
369 shuffle(elements); in testToArray2()
DForkJoinTaskTest.java926 shuffle(tasks);
964 shuffle(tasks);
985 shuffle(tasks);
1595 shuffle(tasks);
1633 shuffle(tasks);
1654 shuffle(tasks);
DCopyOnWriteArrayListTest.java309 shuffle(elements); in testIterator()
477 shuffle(elements); in testToArray()
505 shuffle(elements); in testToArray2()
DForkJoinTask8Test.java951 shuffle(tasks);
978 shuffle(tasks);
1005 shuffle(tasks);
DConcurrentHashMap8Test.java439 shuffle(elements); in testIterator()
529 shuffle(elements); in testToArray()
559 shuffle(elements); in testToArray2()
DStampedLockTest.java319 shuffle(interruptibleLockActions); in testInterruptibleOperationsThrowInterruptedExceptionWhenPreInterrupted()
380 shuffle(interruptibleLockBlockingActions); in testInterruptibleOperationsThrowInterruptedExceptionWriteLockedInterrupted()
398 shuffle(interruptibleLockBlockingActions); in testInterruptibleOperationsThrowInterruptedExceptionReadLockedInterrupted()
/libcore/ojluni/annotations/flagged_api/java/util/
DCollections.annotated.java45 public static void shuffle(java.util.List<?> list) { throw new RuntimeException("Stub!"); } in shuffle() method in Collections
47 public static void shuffle(java.util.List<?> list, java.util.Random rnd) { throw new RuntimeExcepti… in shuffle() method in Collections
50 public static void shuffle(java.util.List<?> list, java.util.random.RandomGenerator rnd) { throw ne… in shuffle() method in Collections
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCollectionsTest.java589 Collections.shuffle(null); in test_shuffleLjava_util_List()
606 Collections.shuffle(list, new Random(0)); in testShuffleRandomAccessWithSeededRandom()
610 Collections.shuffle(list, (RandomGenerator) new Random(0)); in testShuffleRandomAccessWithSeededRandom()
617 Collections.shuffle(list, new Random(0)); in testShuffleWithSeededRandom()
628 Collections.shuffle(list); in testShuffle()
630 Collections.shuffle(list, new Random(200)); in testShuffle()
656 Collections.shuffle(null, new Random(200)); in test_shuffleLjava_util_ListLjava_util_Random()
674 Collections.shuffle(l, new Random(12345678921L)); in test_shuffleLjava_util_ListLjava_util_Random()
709 Collections.shuffle(ll); in test_sortLjava_util_List()
735 Collections.shuffle(myll); in test_sortLjava_util_ListLjava_util_Comparator()
/libcore/luni/src/test/java/libcore/java/util/
DMapDefaultMethodTester.java465 Collections.shuffle(order, random); // Pick a random put() order of the entries in test_entrySet_spliterator_unordered()
469 Collections.shuffle(order, random); // Pick a different random order for the assertion in test_entrySet_spliterator_unordered()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollections.annotated.java48 public static void shuffle(@libcore.util.NonNull java.util.List<?> list) { throw new RuntimeExcepti… in shuffle() method in Collections
50 public static void shuffle(@libcore.util.NonNull java.util.List<?> list, @libcore.util.NonNull java… in shuffle() method in Collections
52 public static void shuffle(@libcore.util.NonNull java.util.List<?> list, @libcore.util.NonNull java… in shuffle() method in Collections
/libcore/ojluni/src/test/java/util/Collection/testlibrary/
DCollectionSupplier.java102 public static <E> void shuffle(final List<E> list) { in shuffle() method in CollectionSupplier
/libcore/ojluni/src/test/java/util/LinkedHashMap/
DBasic.java156 Collections.shuffle(l2); in testBasic()
/libcore/ojluni/src/test/java/lang/invoke/
DMethodTypeTest.java470 Collections.shuffle(stuff, new Random(292)); in testSerialization()

12