Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

      @Override
      @CheckForNull
      public 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java

        }
        return result;
      }
    
      @Override
      @CheckForNull
      public Entry<E> pollFirstEntry() {
        return forwardMultiset().pollLastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<E> pollLastEntry() {
        return forwardMultiset().pollFirstEntry();
      }
    
      @Override
      public SortedMultiset<E> headMultiset(E toElement, BoundType boundType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

      @Override
      @CheckForNull
      public 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/DescendingMultiset.java

        }
        return result;
      }
    
      @Override
      @CheckForNull
      public Entry<E> pollFirstEntry() {
        return forwardMultiset().pollLastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<E> pollLastEntry() {
        return forwardMultiset().pollFirstEntry();
      }
    
      @Override
      public SortedMultiset<E> headMultiset(@ParametricNullness E toElement, BoundType boundType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate().pollFirstEntry();
        }
    
        @Override
        public @Nullable Entry<K, V> pollLastEntry() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().pollLastEntry();
        }
    
        @Override
        public NavigableMap<K, V> subMap(
            K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/DescendingMultiset.java

        }
        return result;
      }
    
      @Override
      @CheckForNull
      public Entry<E> pollFirstEntry() {
        return forwardMultiset().pollLastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<E> pollLastEntry() {
        return forwardMultiset().pollFirstEntry();
      }
    
      @Override
      public SortedMultiset<E> headMultiset(@ParametricNullness E toElement, BoundType boundType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top