Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for QueueIterator (0.07 sec)

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

          }
          Iterator<Integer> queueIterator = queue.iterator();
          int remaining = queue.size();
          while (queueIterator.hasNext()) {
            Integer element = queueIterator.next();
            remaining--;
            assertThat(elements).contains(element);
            if (random.nextBoolean()) {
              elements.remove(element);
              queueIterator.remove();
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          }
          Iterator<Integer> queueIterator = queue.iterator();
          int remaining = queue.size();
          while (queueIterator.hasNext()) {
            Integer element = queueIterator.next();
            remaining--;
            assertThat(elements).contains(element);
            if (random.nextBoolean()) {
              elements.remove(element);
              queueIterator.remove();
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        }
      }
    
      /**
       * Iterates the elements of the queue in no particular order.
       *
       * <p>If the underlying queue is modified during iteration an exception will be thrown.
       */
      private class QueueIterator implements Iterator<E> {
        private int cursor = -1;
        private int nextCursor = -1;
        private int expectedModCount = modCount;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        }
      }
    
      /**
       * Iterates the elements of the queue in no particular order.
       *
       * <p>If the underlying queue is modified during iteration an exception will be thrown.
       */
      private class QueueIterator implements Iterator<E> {
        private int cursor = -1;
        private int nextCursor = -1;
        private int expectedModCount = modCount;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top