Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for pollFirstEntry (0.09 seconds)

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

          assertTrue(Thread.holdsLock(mutex));
          return delegate().navigableKeySet();
        }
    
        @Override
        public @Nullable Entry<K, V> pollFirstEntry() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().pollFirstEntry();
        }
    
        @Override
        public @Nullable Entry<K, V> pollLastEntry() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().pollLastEntry();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public NavigableSet<K> navigableKeySet() {
        return delegate.navigableKeySet();
      }
    
      @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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public NavigableSet<K> navigableKeySet() {
        return delegate.navigableKeySet();
      }
    
      @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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  4. android/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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  5. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  6. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  7. 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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final @Nullable Entry<K, V> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final @Nullable Entry<K, V> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 54.7K bytes
    - Click Count (0)
  10. 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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
Back to Top