Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for peekFirst (0.07 sec)

  1. guava/src/com/google/common/collect/ForwardingDeque.java

      @Override
      public boolean offerLast(@ParametricNullness E e) {
        return delegate().offerLast(e);
      }
    
      @Override
      @CheckForNull
      public E peekFirst() {
        return delegate().peekFirst();
      }
    
      @Override
      @CheckForNull
      public E peekLast() {
        return delegate().peekLast();
      }
    
      @CanIgnoreReturnValue // TODO(cpovirk): Consider removing this?
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        @Override
        public E getLast() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.getLast();
        }
    
        @Override
        public @Nullable E peekFirst() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.peekFirst();
        }
    
        @Override
        public @Nullable E peekLast() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.peekLast();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     *       size. In many cases {@link Ordering#leastOf} may work for your use case with significantly
     *       improved (and asymptotically superior) performance.
     *   <li>The retrieval operations {@link #peek}, {@link #peekFirst}, {@link #peekLast}, {@link
     *       #element}, and {@link #size} are constant-time.
     *   <li>The enqueuing and dequeuing operations ({@link #offer}, {@link #add}, and all the forms of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     *       size. In many cases {@link Ordering#leastOf} may work for your use case with significantly
     *       improved (and asymptotically superior) performance.
     *   <li>The retrieval operations {@link #peek}, {@link #peekFirst}, {@link #peekLast}, {@link
     *       #element}, and {@link #size} are constant-time.
     *   <li>The enqueuing and dequeuing operations ({@link #offer}, {@link #add}, and all the forms of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Synchronized.java

        public E getLast() {
          synchronized (mutex) {
            return delegate().getLast();
          }
        }
    
        @Override
        @CheckForNull
        public E peekFirst() {
          synchronized (mutex) {
            return delegate().peekFirst();
          }
        }
    
        @Override
        @CheckForNull
        public E peekLast() {
          synchronized (mutex) {
            return delegate().peekLast();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Synchronized.java

        public E getLast() {
          synchronized (mutex) {
            return delegate().getLast();
          }
        }
    
        @Override
        @CheckForNull
        public E peekFirst() {
          synchronized (mutex) {
            return delegate().peekFirst();
          }
        }
    
        @Override
        @CheckForNull
        public E peekLast() {
          synchronized (mutex) {
            return delegate().peekLast();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
Back to top