Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for pollLastEntry (0.09 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

      }
    
      @Override
      public @Nullable Entry<E> pollLastEntry() {
        return delegate().pollLastEntry();
      }
    
      /**
       * A sensible definition of {@link #pollLastEntry()} in terms of {@code
       * descendingMultiset().entrySet().iterator()}.
       *
       * <p>If you override {@link #descendingMultiset()} or {@link #entrySet()}, you may wish to
       * override {@link #pollLastEntry()} to forward to this implementation.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/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: Thu Aug 07 16:05:33 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingSortedMultiset.java

      }
    
      @Override
      public @Nullable Entry<E> pollLastEntry() {
        return delegate().pollLastEntry();
      }
    
      /**
       * A sensible definition of {@link #pollLastEntry()} in terms of {@code
       * descendingMultiset().entrySet().iterator()}.
       *
       * <p>If you override {@link #descendingMultiset()} or {@link #entrySet()}, you may wish to
       * override {@link #pollLastEntry()} 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)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        assertEquals(c, navigableMap.pollLastEntry());
        assertEquals(entries.subList(0, entries.size() - 1), copyToList(navigableMap.entrySet()));
      }
    
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testPollLastUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> navigableMap.pollLastEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

      }
    
      @Override
      public @Nullable Entry<E> pollLastEntry() {
        return delegate().pollLastEntry();
      }
    
      /**
       * A sensible definition of {@link #pollLastEntry()} in terms of {@code
       * descendingMultiset().entrySet().iterator()}.
       *
       * <p>If you override {@link #descendingMultiset()} or {@link #entrySet()}, you may wish to
       * override {@link #pollLastEntry()} 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)
  6. guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        assertEquals(c, navigableMap.pollLastEntry());
        assertEquals(entries.subList(0, entries.size() - 1), copyToList(navigableMap.entrySet()));
      }
    
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testPollLastUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> navigableMap.pollLastEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. 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)
  8. android/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)
  9. android/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)
  10. guava-gwt/src-super/com/google/common/collect/super/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(E upperBound, BoundType boundType) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top