Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for pollLastEntry (0.3 seconds)

  1. 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) {
    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 @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
    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 @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
    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

         */
    
        @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
    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

        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,
    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

        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,
    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. 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();
    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)
  8. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        @Override
        public @Nullable Entry<K, Collection<V>> pollFirstEntry() {
          return pollAsMapEntry(entrySet().iterator());
        }
    
        @Override
        public @Nullable Entry<K, Collection<V>> pollLastEntry() {
          return pollAsMapEntry(descendingMap().entrySet().iterator());
        }
    
        @Nullable Entry<K, Collection<V>> pollAsMapEntry(
            Iterator<Entry<K, Collection<V>>> entryIterator) {
    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)
  9. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final @Nullable Entry<K, V> pollLastEntry() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public ImmutableSortedMap<K, V> descendingMap() {
        // TODO(kevinb): The descendingMap is never actually cached at all. Either:
    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)
  10. 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> pollLastEntry() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public ImmutableSortedMap<K, V> descendingMap() {
        // TODO(kevinb): The descendingMap is never actually cached at all. Either:
    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)
Back to Top