Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for pollFirstEntry (0.07 sec)

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

        public Entry<E> firstEntry() {
          return standardFirstEntry();
        }
    
        @Override
        public Entry<E> lastEntry() {
          return standardLastEntry();
        }
    
        @Override
        public Entry<E> pollFirstEntry() {
          return standardPollFirstEntry();
        }
    
        @Override
        public Entry<E> pollLastEntry() {
          return standardPollLastEntry();
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. android/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: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  5. 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)
  6. android/guava/src/com/google/common/collect/Synchronized.java

            }
            return navigableKeySet;
          }
        }
    
        @Override
        public Map.@Nullable Entry<K, V> pollFirstEntry() {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().pollFirstEntry(), mutex);
          }
        }
    
        @Override
        public Map.@Nullable Entry<K, V> pollLastEntry() {
          synchronized (mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 53K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Synchronized.java

            }
            return navigableKeySet;
          }
        }
    
        @Override
        public Map.@Nullable Entry<K, V> pollFirstEntry() {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().pollFirstEntry(), mutex);
          }
        }
    
        @Override
        public Map.@Nullable Entry<K, V> pollLastEntry() {
          synchronized (mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 56.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final @Nullable Entry<E> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>This implementation is guaranteed to throw an {@link UnsupportedOperationException}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  9. 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)
  10. 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