Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for pop (0.14 sec)

  1. guava-testlib/src/com/google/common/testing/CollectorTester.java

            while (stack.size() > 1) {
              A right = pop(stack);
              A left = pop(stack);
              push(stack, collector.combiner().apply(left, right));
            }
            return pop(stack);
          }
    
          <E extends @Nullable Object> void push(List<E> stack, E value) {
            stack.add(value);
          }
    
          <E extends @Nullable Object> E pop(List<E> stack) {
            return stack.remove(stack.size() - 1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingDeque.java

      @Override
      @CheckForNull
      public E pollLast() {
        return delegate().pollLast();
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E pop() {
        return delegate().pop();
      }
    
      @Override
      public void push(@ParametricNullness E e) {
        delegate().push(e);
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         * null} if {@code remove()} or {@code add()} has been called more recently than either. We use
         * this to determine which stack to pop from on a call to {@code remove()} (or to pop from and
         * push to on a call to {@code set()}).
         */
        @Nullable Stack<E> stackWithLastReturnedElementAtTop = null;
    
        MultiExceptionListIterator(List<E> expectedElements) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         * null} if {@code remove()} or {@code add()} has been called more recently than either. We use
         * this to determine which stack to pop from on a call to {@code remove()} (or to pop from and
         * push to on a call to {@code set()}).
         */
        @Nullable Stack<E> stackWithLastReturnedElementAtTop = null;
    
        MultiExceptionListIterator(List<E> expectedElements) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        }
    
        @Override
        public void push(E e) {
          assertTrue(Thread.holdsLock(mutex));
          delegate.push(e);
        }
    
        @Override
        public E pop() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.pop();
        }
    
        @Override
        public Iterator<E> descendingIterator() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.descendingIterator();
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        }
    
        @Override
        public void push(E e) {
          assertTrue(Thread.holdsLock(mutex));
          delegate.push(e);
        }
    
        @Override
        public E pop() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.pop();
        }
    
        @Override
        public Iterator<E> descendingIterator() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.descendingIterator();
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingDeque.java

      @Override
      @CheckForNull
      public E pollLast() {
        return delegate().pollLast();
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E pop() {
        return delegate().pop();
      }
    
      @Override
      public void push(@ParametricNullness E e) {
        delegate().push(e);
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        public void push(E e) {
          synchronized (mutex) {
            delegate().push(e);
          }
        }
    
        @Override
        public E pop() {
          synchronized (mutex) {
            return delegate().pop();
          }
        }
    
        @Override
        public Iterator<E> descendingIterator() {
          synchronized (mutex) {
            return delegate().descendingIterator();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    before seen a rabbit with either a waistcoat-pocket, or a watch to
    take out of it, and burning with curiosity, she ran across the
    field after it, and fortunately was just in time to see it pop
    down a large rabbit-hole under the hedge.
    
      In another moment down went Alice after it, never once
    considering how in the world she was to get out again.
    
      The rabbit-hole went straight on like a tunnel for some way,
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

              // An extra '?' or ',' after a child node indicates the end of all children of this node.
              idx++;
              break;
            }
          }
        }
    
        stack.pop();
        return idx - start;
      }
    
      private static CharSequence reverse(CharSequence s) {
        return new StringBuilder(s).reverse();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Oct 13 19:20:43 GMT 2022
    - 4K bytes
    - Viewed (0)
Back to top