Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cursorX (0.04 sec)

  1. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          checkModCount();
          nextNotInSkipMe(cursor + 1);
          return (nextCursor < size()) || ((forgetMeNot != null) && !forgetMeNot.isEmpty());
        }
    
        @Override
        public E next() {
          checkModCount();
          nextNotInSkipMe(cursor + 1);
          if (nextCursor < size()) {
            cursor = nextCursor;
            canRemove = true;
            return elementData(cursor);
          } else if (forgetMeNot != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          checkModCount();
          nextNotInSkipMe(cursor + 1);
          return (nextCursor < size()) || ((forgetMeNot != null) && !forgetMeNot.isEmpty());
        }
    
        @Override
        public E next() {
          checkModCount();
          nextNotInSkipMe(cursor + 1);
          if (nextCursor < size()) {
            cursor = nextCursor;
            canRemove = true;
            return elementData(cursor);
          } else if (forgetMeNot != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        it.remove();
        // After this remove, 400 has moved up and 20 down past cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
        assertEquals((Integer) 10, it.next());
        assertEquals((Integer) 3, it.next());
        it.remove();
        // After this remove, 400 moved down again and 500 up past the cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        it.remove();
        // After this remove, 400 has moved up and 20 down past cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
        assertEquals((Integer) 10, it.next());
        assertEquals((Integer) 3, it.next());
        it.remove();
        // After this remove, 400 moved down again and 500 up past the cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
Back to top