Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for addFirst (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        public <T> T[] toArray(T[] array) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toArray(array);
        }
    
        @Override
        public void addFirst(E e) {
          assertTrue(Thread.holdsLock(mutex));
          delegate.addFirst(e);
        }
    
        @Override
        public void addLast(E e) {
          assertTrue(Thread.holdsLock(mutex));
          delegate.addLast(e);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/TearDownStack.java

      }
    
      public TearDownStack(boolean suppressThrows) {
        this.suppressThrows = suppressThrows;
      }
    
      @Override
      public final void addTearDown(TearDown tearDown) {
        synchronized (lock) {
          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

      }
    
      public TearDownStack(boolean suppressThrows) {
        this.suppressThrows = suppressThrows;
      }
    
      @Override
      public final void addTearDown(TearDown tearDown) {
        synchronized (lock) {
          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        Deque<E> delegate() {
          return (Deque<E>) super.delegate();
        }
    
        @Override
        public void addFirst(E e) {
          synchronized (mutex) {
            delegate().addFirst(e);
          }
        }
    
        @Override
        public void addLast(E e) {
          synchronized (mutex) {
            delegate().addLast(e);
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        Deque<E> delegate() {
          return (Deque<E>) super.delegate();
        }
    
        @Override
        public void addFirst(E e) {
          synchronized (mutex) {
            delegate().addFirst(e);
          }
        }
    
        @Override
        public void addLast(E e) {
          synchronized (mutex) {
            delegate().addLast(e);
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterators.java

                this.metaIterators = new ArrayDeque<>();
              }
              this.metaIterators.addFirst(this.topMetaIterator);
              if (topConcat.metaIterators != null) {
                while (!topConcat.metaIterators.isEmpty()) {
                  this.metaIterators.addFirst(topConcat.metaIterators.removeLast());
                }
              }
              this.topMetaIterator = topConcat.topMetaIterator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top