Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for pollLast (0.12 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      public void testPollLast() {
        assertEquals(c, navigableSet.pollLast());
        assertEquals(values.subList(0, values.size() - 1), Helpers.copyToList(navigableSet));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testPollLastUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> navigableSet.pollLast());
      }
    
      @CollectionSize.Require(SEVERAL)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache-packaging/src/main/java/org/gradle/caching/internal/packaging/impl/RelativePathParser.java

            }
            return isRoot();
        }
    
        private boolean exitDirectory(Runnable exitDirectoryHandler) {
            if (directoryPaths.pollLast() == null) {
                return true;
            }
            if (directoryNames.pollLast() == null) {
                return true;
            }
            exitDirectoryHandler.run();
            return false;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

        return delegate.lower(checkValid(e));
      }
    
      @Override
      public @Nullable E pollFirst() {
        return delegate.pollFirst();
      }
    
      @Override
      public @Nullable E pollLast() {
        return delegate.pollLast();
      }
    
      @Override
      public boolean remove(Object object) {
        return delegate.remove(checkValid(object));
      }
    
      @Override
      public boolean removeAll(Collection<?> c) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingNavigableSet.java

      }
    
      @Override
      @CheckForNull
      public E pollLast() {
        return delegate().pollLast();
      }
    
      /**
       * A sensible definition of {@link #pollLast} in terms of the {@code descendingIterator} method.
       * If you override {@link #descendingIterator} you may wish to override {@link #pollLast} to
       * forward to this implementation.
       */
      @CheckForNull
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

      }
    
      @Override
      @CheckForNull
      public E pollLast() {
        return delegate().pollLast();
      }
    
      /**
       * A sensible definition of {@link #pollLast} in terms of the {@code descendingIterator} method.
       * If you override {@link #descendingIterator} you may wish to override {@link #pollLast} to
       * forward to this implementation.
       */
      @CheckForNull
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      public void testPollLast() {
        assertEquals(c, navigableSet.pollLast());
        assertEquals(values.subList(0, values.size() - 1), Helpers.copyToList(navigableSet));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testPollLastUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> navigableSet.pollLast());
      }
    
      @CollectionSize.Require(SEVERAL)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingBlockingDeque.java

        return delegate().pollFirst(timeout, unit);
      }
    
      @Override
      @CheckForNull
      public E pollLast(long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().pollLast(timeout, unit);
      }
    
      @Override
      public void put(E e) throws InterruptedException {
        delegate().put(e);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java

        return delegate().pollFirst(timeout, unit);
      }
    
      @Override
      @CheckForNull
      public E pollLast(long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().pollLast(timeout, unit);
      }
    
      @Override
      public void put(E e) throws InterruptedException {
        delegate().put(e);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingDeque.java

      @CheckForNull
      public E pollFirst() {
        return delegate().pollFirst();
      }
    
      @CanIgnoreReturnValue // TODO(cpovirk): Consider removing this?
      @Override
      @CheckForNull
      public E pollLast() {
        return delegate().pollLast();
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E pop() {
        return delegate().pop();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingDeque.java

      @CheckForNull
      public E pollFirst() {
        return delegate().pollFirst();
      }
    
      @CanIgnoreReturnValue // TODO(cpovirk): Consider removing this?
      @Override
      @CheckForNull
      public E pollLast() {
        return delegate().pollLast();
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E pop() {
        return delegate().pop();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top