Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for pollLast (0.06 sec)

  1. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

        }
    
        @Override
        protected Queue<T> delegate() {
          return mmHeap;
        }
    
        @Override
        public @Nullable T poll() {
          return mmHeap.pollLast();
        }
      }
    
      public enum HeapType {
        MIN_MAX {
          @Override
          public Queue<Integer> create(Comparator<Integer> comparator) {
            return MinMaxPriorityQueue.orderedBy(comparator).create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            NavigableSet<Integer> filtered = filter(createUnfiltered(contents), EVEN);
            NavigableSet<Integer> unfiltered = createUnfiltered(filtered);
    
            assertEquals(unfiltered.pollLast(), filtered.pollLast());
            assertEquals(unfiltered, filtered);
          }
        }
    
        public void testNavigation() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/SortedMultisets.java

        }
    
        @Override
        @CheckForNull
        public E pollFirst() {
          return getElementOrNull(multiset().pollFirstEntry());
        }
    
        @Override
        @CheckForNull
        public E pollLast() {
          return getElementOrNull(multiset().pollLastEntry());
        }
    
        @Override
        public NavigableSet<E> subSet(
            @ParametricNullness E fromElement,
            boolean fromInclusive,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

          return standardHigher(e);
        }
    
        @Override
        public @Nullable T pollFirst() {
          return standardPollFirst();
        }
    
        @Override
        public @Nullable T pollLast() {
          return standardPollLast();
        }
    
        @Override
        public SortedSet<T> headSet(T toElement) {
          return standardHeadSet(toElement);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * defined as the <i>least</i> element in the queue according to the queue's comparator. But unlike
     * a regular priority queue, the methods {@link #peekLast}, {@link #pollLast} and {@link
     * #removeLast} are also provided, to act on the <i>greatest</i> element in the queue instead.
     *
     * <p>A min-max priority queue can be configured with a maximum size. If so, each time the size 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)
  7. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * defined as the <i>least</i> element in the queue according to the queue's comparator. But unlike
     * a regular priority queue, the methods {@link #peekLast}, {@link #pollLast} and {@link
     * #removeLast} are also provided, to act on the <i>greatest</i> element in the queue instead.
     *
     * <p>A min-max priority queue can be configured with a maximum size. If so, each time the size 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)
  8. android/guava/src/com/google/common/collect/Synchronized.java

        public E pollFirst() {
          synchronized (mutex) {
            return delegate().pollFirst();
          }
        }
    
        @Override
        @CheckForNull
        public E pollLast() {
          synchronized (mutex) {
            return delegate().pollLast();
          }
        }
    
        @Override
        public NavigableSet<E> subSet(
            E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Synchronized.java

        public E pollFirst() {
          synchronized (mutex) {
            return delegate().pollFirst();
          }
        }
    
        @Override
        @CheckForNull
        public E pollLast() {
          synchronized (mutex) {
            return delegate().pollLast();
          }
        }
    
        @Override
        public NavigableSet<E> subSet(
            E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                }
            } else if ("user_agent".equalsIgnoreCase(qName) && GLOBALPARAMS.equalsIgnoreCase(tagQueue.get(tagQueue.size() - 2))) {
                userAgent = textBuf.toString().trim();
            }
            tagQueue.pollLast();
            textBuf.setLength(0);
        }
    
        @Override
        public void characters(final char[] ch, final int start, final int length) throws SAXException {
            final String text = new String(ch, start, length);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top