Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for pollNext (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

      }
    
      @Override
      public @Nullable Entry<K, V> pollFirstEntry() {
        return Iterators.pollNext(entryIterator());
      }
    
      @Override
      public @Nullable Entry<K, V> pollLastEntry() {
        return Iterators.pollNext(descendingEntryIterator());
      }
    
      @Override
      @ParametricNullness
      public K firstKey() {
        Entry<K, V> entry = firstEntry();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

      }
    
      @Override
      public @Nullable Entry<K, V> pollFirstEntry() {
        return Iterators.pollNext(entryIterator());
      }
    
      @Override
      public @Nullable Entry<K, V> pollLastEntry() {
        return Iterators.pollNext(descendingEntryIterator());
      }
    
      @Override
      @ParametricNullness
      public K firstKey() {
        Entry<K, V> entry = firstEntry();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ForwardingNavigableSet.java

       * override {@link #iterator} you may wish to override {@link #pollFirst} to forward to this
       * implementation.
       */
      protected @Nullable E standardPollFirst() {
        return Iterators.pollNext(iterator());
      }
    
      @Override
      public @Nullable E pollLast() {
        return delegate().pollLast();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

       * override {@link #iterator} you may wish to override {@link #pollFirst} to forward to this
       * implementation.
       */
      protected @Nullable E standardPollFirst() {
        return Iterators.pollNext(iterator());
      }
    
      @Override
      public @Nullable E pollLast() {
        return delegate().pollLast();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          return getSortedSetDelegate().higher(v);
        }
    
        @Override
        public @Nullable V pollFirst() {
          return Iterators.pollNext(iterator());
        }
    
        @Override
        public @Nullable V pollLast() {
          return Iterators.pollNext(descendingIterator());
        }
    
        private NavigableSet<V> wrap(NavigableSet<V> wrapped) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Aug 12 15:51:57 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

       * entrySet}. If you override {@code entrySet}, you may wish to override {@code pollFirstEntry} to
       * forward to this implementation.
       */
      protected @Nullable Entry<K, V> standardPollFirstEntry() {
        return Iterators.pollNext(entrySet().iterator());
      }
    
      @Override
      public @Nullable Entry<K, V> pollLastEntry() {
        return delegate().pollLastEntry();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ForwardingNavigableMap.java

       * entrySet}. If you override {@code entrySet}, you may wish to override {@code pollFirstEntry} to
       * forward to this implementation.
       */
      protected @Nullable Entry<K, V> standardPollFirstEntry() {
        return Iterators.pollNext(entrySet().iterator());
      }
    
      @Override
      public @Nullable Entry<K, V> pollLastEntry() {
        return delegate().pollLastEntry();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

          }
        };
      }
    
      /**
       * Deletes and returns the next value from the iterator, or returns {@code null} if there is no
       * such value.
       */
      static <T extends @Nullable Object> @Nullable T pollNext(Iterator<T> iterator) {
        if (iterator.hasNext()) {
          T result = iterator.next();
          iterator.remove();
          return result;
        } else {
          return null;
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Iterators.java

          }
        };
      }
    
      /**
       * Deletes and returns the next value from the iterator, or returns {@code null} if there is no
       * such value.
       */
      static <T extends @Nullable Object> @Nullable T pollNext(Iterator<T> iterator) {
        if (iterator.hasNext()) {
          T result = iterator.next();
          iterator.remove();
          return result;
        } else {
          return null;
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
Back to Top