Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCorrectOrdering_randomAccess (0.11 sec)

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

          while (!q.isEmpty()) {
            elements.add(0, q.pollLast());
          }
          assertEqualsUsingSeed(seed, expected, elements);
        }
      }
    
      public void testCorrectOrdering_randomAccess() {
        long seed = new Random().nextLong();
        Random random = new Random(seed);
        PriorityQueue<Integer> control = new PriorityQueue<>();
        MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
Back to top