- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for pollFirst (0.11 sec)
-
android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java
} @Override public E takeLast() throws InterruptedException { return delegate().takeLast(); } @Override @CheckForNull public E pollFirst(long timeout, TimeUnit unit) throws InterruptedException { return delegate().pollFirst(timeout, unit); } @Override @CheckForNull public E pollLast(long timeout, TimeUnit unit) throws InterruptedException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedMultisets.java
} @Override public Iterator<E> descendingIterator() { return descendingSet().iterator(); } @Override @CheckForNull public E pollFirst() { return getElementOrNull(multiset().pollFirstEntry()); } @Override @CheckForNull public E pollLast() { return getElementOrNull(multiset().pollLastEntry()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
NavigableSet<Integer> filtered = filter(createUnfiltered(contents), EVEN); NavigableSet<Integer> unfiltered = createUnfiltered(filtered); assertEquals(unfiltered.pollFirst(), filtered.pollFirst()); assertEquals(unfiltered, filtered); } } public void testPollLast() { for (List<Integer> contents : SAMPLE_INPUTS) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java
return standardCeiling(e); } @Override public @Nullable T higher(T e) { return standardHigher(e); } @Override public @Nullable T pollFirst() { return standardPollFirst(); } @Override public @Nullable T pollLast() { return standardPollLast(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Synchronized.java
public E lower(E e) { synchronized (mutex) { return delegate().lower(e); } } @Override @CheckForNull public E pollFirst() { synchronized (mutex) { return delegate().pollFirst(); } } @Override @CheckForNull public E pollLast() { synchronized (mutex) { return delegate().pollLast();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Synchronized.java
public E lower(E e) { synchronized (mutex) { return delegate().lower(e); } } @Override @CheckForNull public E pollFirst() { synchronized (mutex) { return delegate().pollFirst(); } } @Override @CheckForNull public E pollLast() { synchronized (mutex) { return delegate().pollLast();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 57.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
return forward.lower(e); } @Override @CheckForNull public E pollFirst() { return forward.pollLast(); } @Override @CheckForNull public E pollLast() { return forward.pollFirst(); } @Override public NavigableSet<E> descendingSet() { return forward; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 78.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
} } /** * Removes and returns the least element of this queue, or returns {@code null} if the queue is * empty. */ @CanIgnoreReturnValue @CheckForNull public E pollFirst() { return poll(); } /** * Removes and returns the least element of this queue. * * @throws NoSuchElementException if the queue is empty */ @CanIgnoreReturnValue
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
} try { unmod.addAll(singleton(4)); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } try { unmod.pollFirst(); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } try { unmod.pollLast(); fail("UnsupportedOperationException expected");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 48.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
*/ @CanIgnoreReturnValue @Deprecated @GwtIncompatible // NavigableSet @Override @DoNotCall("Always throws UnsupportedOperationException") @CheckForNull public final E pollFirst() { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the set unmodified. * * @since 12.0 * @throws UnsupportedOperationException always
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.1K bytes - Viewed (0)