- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for pollLast (0.03 sec)
-
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
mmHeap.add(4); mmHeap.add(2); mmHeap.add(3); assertEquals(4, (int) mmHeap.pollLast()); assertEquals(3, (int) mmHeap.peekLast()); assertEquals(3, (int) mmHeap.pollLast()); assertEquals(1, (int) mmHeap.peek()); assertEquals(2, (int) mmHeap.peekLast()); assertEquals(2, (int) mmHeap.pollLast()); assertEquals(1, (int) mmHeap.peek()); assertEquals(1, (int) mmHeap.peekLast());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36K bytes - Viewed (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,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (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) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 12 15:51:57 UTC 2025 - 48.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
} } else if ("user_agent".equalsIgnoreCase(qName) && GLOBALPARAMS.equalsIgnoreCase(tagQueue.get(tagQueue.size() - 2))) { userAgent = textBuf.toString().trim(); } tagQueue.pollLast(); textBuf.setLength(0); } /** * SAX event handler called to process character data between XML elements.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
} try { unmod.pollFirst(); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } try { unmod.pollLast(); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } try { Iterator<Integer> iterator = unmod.iterator(); iterator.next();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
*/ @CanIgnoreReturnValue @Deprecated @GwtIncompatible // NavigableSet @Override @DoNotCall("Always throws UnsupportedOperationException") public final @Nullable E pollLast() { throw new UnsupportedOperationException(); } @GwtIncompatible // NavigableSet @LazyInit transient @Nullable ImmutableSortedSet<E> descendingSet; /** * @since 12.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.8K bytes - Viewed (0)