Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 56 (0.15 sec)

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

        MinMaxPriorityQueue<Integer> mmHeap =
            MinMaxPriorityQueue.orderedBy(Ordering.<Integer>natural().reverse())
                .expectedSize(5)
                .create();
        Collections.addAll(mmHeap, 1, 7, 2, 56, 2, 5, 23, 68, 0, 3);
        assertTrue("Heap is not intact initially", mmHeap.isIntact());
        assertEquals(68, (int) mmHeap.peek());
        assertEquals(0, (int) mmHeap.peekLast());
      }
    
    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

        MinMaxPriorityQueue<Integer> mmHeap =
            MinMaxPriorityQueue.orderedBy(Ordering.<Integer>natural().reverse())
                .expectedSize(5)
                .create();
        Collections.addAll(mmHeap, 1, 7, 2, 56, 2, 5, 23, 68, 0, 3);
        assertTrue("Heap is not intact initially", mmHeap.isIntact());
        assertEquals(68, (int) mmHeap.peek());
        assertEquals(0, (int) mmHeap.peekLast());
      }
    
    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