Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for peekLast (0.04 sec)

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

        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?
      @Override
      @CheckForNull
      public E pollFirst() {
        return delegate().pollFirst();
      }
    
    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

        public @Nullable E peekFirst() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.peekFirst();
        }
    
        @Override
        public @Nullable E peekLast() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.peekLast();
        }
    
        @Override
        public boolean removeFirstOccurrence(Object o) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.removeFirstOccurrence(o);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top