Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for pollLast (0.03 sec)

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

        mmHeap.add(4);
        mmHeap.add(2);
        mmHeap.add(3);
        assertEquals(4, (int) mmHeap.pollLast());
        assertEquals(3, (int) mmHeap.peekLast());
        assertEquals(3, (int) mmHeap.pollLast());
        assertEquals(1, (int) mmHeap.peek());
        assertEquals(2, (int) mmHeap.peekLast());
        assertEquals(2, (int) mmHeap.pollLast());
        assertEquals(1, (int) mmHeap.peek());
        assertEquals(1, (int) mmHeap.peekLast());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          return getSortedSetDelegate().higher(v);
        }
    
        @Override
        public @Nullable V pollFirst() {
          return Iterators.pollNext(iterator());
        }
    
        @Override
        public @Nullable V pollLast() {
          return Iterators.pollNext(descendingIterator());
        }
    
        private NavigableSet<V> wrap(NavigableSet<V> wrapped) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  4. 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);
        }
    
        /**
         * SAX event handler called to process character data between XML elements.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SetsTest.java

        }
        try {
          unmod.pollFirst();
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          unmod.pollLast();
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          Iterator<Integer> iterator = unmod.iterator();
          iterator.next();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       */
      @CanIgnoreReturnValue
      @Deprecated
      @GwtIncompatible // NavigableSet
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final @Nullable E pollLast() {
        throw new UnsupportedOperationException();
      }
    
      @GwtIncompatible // NavigableSet
      @LazyInit
      transient @Nullable ImmutableSortedSet<E> descendingSet;
    
      /**
       * @since 12.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
Back to top