- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 41 for pollLastEntry (0.13 seconds)
-
guava/src/com/google/common/collect/ImmutableSortedMultiset.java
* @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final @Nullable Entry<E> pollLastEntry() { throw new UnsupportedOperationException(); } @Override public abstract ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType); @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 29.5K bytes - Click Count (0) -
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)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 9K bytes - Click Count (0) -
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)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 9K bytes - Click Count (0) -
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) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
public void testPollLast() { assertEquals(c, sortedMultiset.pollLastEntry()); assertEquals(asList(a, b), copyToList(sortedMultiset.entrySet())); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL) public void testPollLastUnsupported() { assertThrows(UnsupportedOperationException.class, () -> sortedMultiset.pollLastEntry()); } @CollectionSize.Require(SEVERAL)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
public void testPollLast() { assertEquals(c, sortedMultiset.pollLastEntry()); assertEquals(asList(a, b), copyToList(sortedMultiset.entrySet())); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL) public void testPollLastUnsupported() { assertThrows(UnsupportedOperationException.class, () -> sortedMultiset.pollLastEntry()); } @CollectionSize.Require(SEVERAL)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
* @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final @Nullable Entry<E> pollLastEntry() { throw new UnsupportedOperationException(); } @Override public abstract ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType); @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 35.2K bytes - Click Count (0) -
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) -
android/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: Tue Aug 12 15:51:57 GMT 2025 - 46.9K bytes - Click Count (0) -
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)