Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Shuffle (0.18 sec)

  1. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        for (int attempts = 0; attempts < reduceIterationsIfGwt(1000); attempts++) {
          ArrayList<Integer> elements = createOrderedList(10);
          Collections.shuffle(elements, random);
          MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create(elements);
          Collections.shuffle(elements, random);
          for (Integer element : elements) {
            assertThat(queue.remove(element)).isTrue();
            assertIntact(queue);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        for (int attempts = 0; attempts < reduceIterationsIfGwt(1000); attempts++) {
          ArrayList<Integer> elements = createOrderedList(10);
          Collections.shuffle(elements, random);
          MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create(elements);
          Collections.shuffle(elements, random);
          for (Integer element : elements) {
            assertThat(queue.remove(element)).isTrue();
            assertIntact(queue);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
Back to top