Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for pollLastEntry (0.38 sec)

  1. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public @Nullable Entry<K, V> pollFirstEntry() {
        return delegate.pollFirstEntry();
      }
    
      @Override
      public @Nullable Entry<K, V> pollLastEntry() {
        return delegate.pollLastEntry();
      }
    
      @Override
      public @Nullable V put(K key, V value) {
        return delegate.put(checkValid(key), value);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testPollLast() {
        assertEquals(c, sortedMultiset.pollLastEntry());
        assertEquals(asList(a, b), copyToList(sortedMultiset.entrySet()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testPollLastUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> sortedMultiset.pollLastEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

        return delegate().lastEntry();
      }
    
      @Override
      public @Nullable Entry<E> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public @Nullable Entry<E> pollLastEntry() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public SortedMultiset<E> headMultiset(@ParametricNullness E upperBound, 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)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SortedMultiset.java

      Comparator<? super E> comparator();
    
      @Nullable Entry<E> firstEntry();
    
      @Nullable Entry<E> lastEntry();
    
      @Nullable Entry<E> pollFirstEntry();
    
      @Nullable Entry<E> pollLastEntry();
    
      /**
       * Returns a {@link SortedSet} view of the distinct elements in this multiset. (Outside GWT, this
       * returns a {@code NavigableSet}.)
       */
      @Override
      SortedSet<E> elementSet();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

          return standardLastEntry();
        }
    
        @Override
        public Entry<E> pollFirstEntry() {
          return standardPollFirstEntry();
        }
    
        @Override
        public Entry<E> pollLastEntry() {
          return standardPollLastEntry();
        }
    
        @Override
        public SortedMultiset<E> subMultiset(
            E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractSortedMultiset.java

          result = Multisets.immutableEntry(result.getElement(), result.getCount());
          entryIterator.remove();
          return result;
        }
        return null;
      }
    
      @Override
      public @Nullable Entry<E> pollLastEntry() {
        Iterator<Entry<E>> entryIterator = descendingEntryIterator();
        if (entryIterator.hasNext()) {
          Entry<E> result = entryIterator.next();
    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-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

          return standardLastEntry();
        }
    
        @Override
        public Entry<E> pollFirstEntry() {
          return standardPollFirstEntry();
        }
    
        @Override
        public Entry<E> pollLastEntry() {
          return standardPollLastEntry();
        }
    
        @Override
        public SortedMultiset<E> subMultiset(
            E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SortedMultisets.java

        public @Nullable E pollFirst() {
          return getElementOrNull(multiset().pollFirstEntry());
        }
    
        @Override
        public @Nullable E pollLast() {
          return getElementOrNull(multiset().pollLastEntry());
        }
    
        @Override
        public NavigableSet<E> subSet(
            @ParametricNullness E fromElement,
            boolean fromInclusive,
            @ParametricNullness E toElement,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

       */
      protected @Nullable Entry<K, V> standardPollFirstEntry() {
        return Iterators.pollNext(entrySet().iterator());
      }
    
      @Override
      public @Nullable Entry<K, V> pollLastEntry() {
        return delegate().pollLastEntry();
      }
    
      /**
       * A sensible definition of {@link #pollFirstEntry} in terms of the {@code iterator} of the {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingNavigableMap.java

       */
      protected @Nullable Entry<K, V> standardPollFirstEntry() {
        return Iterators.pollNext(entrySet().iterator());
      }
    
      @Override
      public @Nullable Entry<K, V> pollLastEntry() {
        return delegate().pollLastEntry();
      }
    
      /**
       * A sensible definition of {@link #pollFirstEntry} in terms of the {@code iterator} of the {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top