- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 21 for pollLast (0.06 seconds)
-
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
NavigableSet<Integer> filtered = filter(createUnfiltered(contents), EVEN); NavigableSet<Integer> unfiltered = createUnfiltered(filtered); assertEquals(unfiltered.pollLast(), filtered.pollLast()); assertEquals(unfiltered, filtered); } } public void testNavigation() { for (List<Integer> contents : SAMPLE_INPUTS) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 13.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedMultisets.java
} @Override public @Nullable E pollFirst() { return getElementOrNull(multiset().pollFirstEntry()); } @Override public @Nullable E pollLast() { return getElementOrNull(multiset().pollLastEntry()); } @Override public NavigableSet<E> subSet( @ParametricNullness E fromElement, boolean fromInclusive,Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java
return standardHigher(e); } @Override public @Nullable T pollFirst() { return standardPollFirst(); } @Override public @Nullable T pollLast() { return standardPollLast(); } @Override public SortedSet<T> headSet(T toElement) { return standardHeadSet(toElement); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
* defined as the <i>least</i> element in the queue according to the queue's comparator. But unlike * a regular priority queue, the methods {@link #peekLast}, {@link #pollLast} and {@link * #removeLast} are also provided, to act on the <i>greatest</i> element in the queue instead. * * <p>A min-max priority queue can be configured with a maximum size. If so, each time the size of
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 33.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Synchronized.java
public @Nullable E pollFirst() { synchronized (mutex) { return delegate().pollFirst(); } } @Override public @Nullable E pollLast() { synchronized (mutex) { return delegate().pollLast(); } } @Override public NavigableSet<E> subSet( E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 53K bytes - Click Count (0) -
guava/src/com/google/common/collect/Synchronized.java
public @Nullable E pollFirst() { synchronized (mutex) { return delegate().pollFirst(); } } @Override public @Nullable E pollLast() { synchronized (mutex) { return delegate().pollLast(); } } @Override public NavigableSet<E> subSet( E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 56.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
public @Nullable E higher(@ParametricNullness E e) { return forward.lower(e); } @Override public @Nullable E pollFirst() { return forward.pollLast(); } @Override public @Nullable E pollLast() { return forward.pollFirst(); } @Override public NavigableSet<E> descendingSet() { return forward; } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 81.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
return getSortedSetDelegate().higher(v); } @Override public @Nullable V pollFirst() { return Iterators.pollNext(iterator()); } @Override public @Nullable V pollLast() { return Iterators.pollNext(descendingIterator()); } private NavigableSet<V> wrap(NavigableSet<V> wrapped) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
return map().higherKey(e); } @Override public @Nullable K pollFirst() { return keyOrNull(map().pollFirstEntry()); } @Override public @Nullable K pollLast() { return keyOrNull(map().pollLastEntry()); } @Override public NavigableSet<K> descendingSet() { return map().descendingKeySet(); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 157.6K bytes - Click Count (0)