Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for pollFirstEntry (0.38 sec)

  1. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

         * loop. Instead, we test standardLastEntry manually below.
         */
    
        @Override
        public @Nullable Entry<K, V> pollFirstEntry() {
          return standardPollFirstEntry();
        }
    
        @Override
        public @Nullable Entry<K, V> pollLastEntry() {
          return standardPollLastEntry();
        }
    
        @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)
  2. guava/src/com/google/common/collect/Maps.java

        @Override
        public NavigableSet<K> navigableKeySet() {
          return fromMap().navigableKeySet();
        }
    
        @Override
        public @Nullable Entry<K, V2> pollFirstEntry() {
          return transformEntry(fromMap().pollFirstEntry());
        }
    
        @Override
        public @Nullable Entry<K, V2> pollLastEntry() {
          return transformEntry(fromMap().pollLastEntry());
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  3. 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() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  5. 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() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
Back to top