Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for pollLastEntry (0.51 sec)

  1. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. android/guava/src/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(@ParametricNullness E toElement, BoundType boundType) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. guava/src/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(@ParametricNullness E toElement, BoundType boundType) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

         */
    
        @Override
        public @Nullable Entry<K, V> pollFirstEntry() {
          return standardPollFirstEntry();
        }
    
        @Override
        public @Nullable Entry<K, V> pollLastEntry() {
          return standardPollLastEntry();
        }
    
        @Override
        public NavigableMap<K, V> descendingMap() {
          return new StandardDescendingMap();
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertThat(map.descendingKeySet()).containsExactly("two", "three", "one").inOrder();
    
        assertEquals(mapEntry("one", 3), map.pollFirstEntry());
        assertEquals(mapEntry("two", 3), map.pollLastEntry());
        assertEquals(1, map.size());
      }
    
      @GwtIncompatible // NavigableMap
      public void testAsMapNavigableReadsThrough() {
        NavigableSet<String> strings = Sets.newTreeSet();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTest.java

        assertThat(map.descendingKeySet()).containsExactly("two", "three", "one").inOrder();
    
        assertEquals(mapEntry("one", 3), map.pollFirstEntry());
        assertEquals(mapEntry("two", 3), map.pollLastEntry());
        assertEquals(1, map.size());
      }
    
      @GwtIncompatible // NavigableMap
      public void testAsMapNavigableReadsThrough() {
        NavigableSet<String> strings = Sets.newTreeSet();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

        public @Nullable Entry<K, V2> pollFirstEntry() {
          return transformEntry(fromMap().pollFirstEntry());
        }
    
        @Override
        public @Nullable Entry<K, V2> pollLastEntry() {
          return transformEntry(fromMap().pollLastEntry());
        }
    
        @Override
        public NavigableMap<K, V2> subMap(
            @ParametricNullness K fromKey,
            boolean fromInclusive,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Maps.java

        public @Nullable Entry<K, V2> pollFirstEntry() {
          return transformEntry(fromMap().pollFirstEntry());
        }
    
        @Override
        public @Nullable Entry<K, V2> pollLastEntry() {
          return transformEntry(fromMap().pollLastEntry());
        }
    
        @Override
        public NavigableMap<K, V2> subMap(
            @ParametricNullness K fromKey,
            boolean fromInclusive,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
Back to top