Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 34 for pollLast (0.06 seconds)

  1. android/guava/src/com/google/common/collect/Sets.java

        public @Nullable E higher(@ParametricNullness E e) {
          return forward.lower(e);
        }
    
        @Override
        public @Nullable E pollFirst() {
          return forward.pollLast();
        }
    
        @Override
        public @Nullable E pollLast() {
          return forward.pollFirst();
        }
    
        @Override
        public NavigableSet<E> descendingSet() {
          return forward;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Sets.java

        public @Nullable E higher(@ParametricNullness E e) {
          return forward.lower(e);
        }
    
        @Override
        public @Nullable E pollFirst() {
          return forward.pollLast();
        }
    
        @Override
        public @Nullable E pollLast() {
          return forward.pollFirst();
        }
    
        @Override
        public NavigableSet<E> descendingSet() {
          return forward;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      public void testPollLast() {
        assertEquals(c, navigableSet.pollLast());
        assertEquals(values.subList(0, values.size() - 1), copyToList(navigableSet));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testPollLastUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> navigableSet.pollLast());
      }
    
      @CollectionSize.Require(SEVERAL)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  4. 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());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      public void testPollLast() {
        assertEquals(c, navigableSet.pollLast());
        assertEquals(values.subList(0, values.size() - 1), copyToList(navigableSet));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testPollLastUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> navigableSet.pollLast());
      }
    
      @CollectionSize.Require(SEVERAL)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  6. 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());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  7. 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
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.1K bytes
    - Click Count (0)
  8. 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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  9. 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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  10. 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
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 36.8K bytes
    - Click Count (0)
Back to Top