Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for pollFirstEntry (0.04 sec)

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

      }
    
      @Override
      public @Nullable Entry<E> pollFirstEntry() {
        return delegate().pollFirstEntry();
      }
    
      /**
       * A sensible definition of {@link #pollFirstEntry()} in terms of {@code entrySet().iterator()}.
       *
       * <p>If you override {@link #entrySet()}, you may wish to override {@link #pollFirstEntry()} to
       * forward to this implementation.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

      }
    
      @Override
      public @Nullable Entry<E> pollFirstEntry() {
        return delegate().pollFirstEntry();
      }
    
      /**
       * A sensible definition of {@link #pollFirstEntry()} in terms of {@code entrySet().iterator()}.
       *
       * <p>If you override {@link #entrySet()}, you may wish to override {@link #pollFirstEntry()} to
       * forward to this implementation.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/AbstractSortedMultiset.java

      public @Nullable Entry<E> lastEntry() {
        Iterator<Entry<E>> entryIterator = descendingEntryIterator();
        return entryIterator.hasNext() ? entryIterator.next() : null;
      }
    
      @Override
      public @Nullable Entry<E> pollFirstEntry() {
        Iterator<Entry<E>> entryIterator = entryIterator();
        if (entryIterator.hasNext()) {
          Entry<E> result = entryIterator.next();
          result = Multisets.immutableEntry(result.getElement(), result.getCount());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java

        }
        return result;
      }
    
      @Override
      public @Nullable Entry<E> pollFirstEntry() {
        return forwardMultiset().pollLastEntry();
      }
    
      @Override
      public @Nullable Entry<E> pollLastEntry() {
        return forwardMultiset().pollFirstEntry();
      }
    
      @Override
      public SortedMultiset<E> headMultiset(E toElement, BoundType boundType) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

        return delegate().firstEntry();
      }
    
      @Override
      public @Nullable Entry<E> lastEntry() {
        return delegate().lastEntry();
      }
    
      @Override
      public @Nullable Entry<E> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public @Nullable Entry<E> pollLastEntry() {
        throw new UnsupportedOperationException();
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractSortedMultiset.java

      public @Nullable Entry<E> lastEntry() {
        Iterator<Entry<E>> entryIterator = descendingEntryIterator();
        return entryIterator.hasNext() ? entryIterator.next() : null;
      }
    
      @Override
      public @Nullable Entry<E> pollFirstEntry() {
        Iterator<Entry<E>> entryIterator = entryIterator();
        if (entryIterator.hasNext()) {
          Entry<E> result = entryIterator.next();
          result = Multisets.immutableEntry(result.getElement(), result.getCount());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SortedMultisets.java

        @Override
        public Iterator<E> descendingIterator() {
          return descendingSet().iterator();
        }
    
        @Override
        public @Nullable E pollFirst() {
          return getElementOrNull(multiset().pollFirstEntry());
        }
    
        @Override
        public @Nullable E pollLast() {
          return getElementOrNull(multiset().pollLastEntry());
        }
    
        @Override
        public NavigableSet<E> subSet(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          Entry<K, Collection<V>> entry = sortedMap().lastEntry();
          return (entry == null) ? null : wrapEntry(entry);
        }
    
        @Override
        public @Nullable Entry<K, Collection<V>> pollFirstEntry() {
          return pollAsMapEntry(entrySet().iterator());
        }
    
        @Override
        public @Nullable Entry<K, Collection<V>> pollLastEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
Back to top