Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testPollLast (0.1 sec)

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

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

      public void testLast() {
        assertEquals(c, sortedMultiset.lastEntry());
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testPollLast() {
        assertEquals(c, sortedMultiset.pollLastEntry());
        assertEquals(asList(a, b), copyToList(sortedMultiset.entrySet()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testLast() {
        assertEquals(c, sortedMultiset.lastEntry());
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testPollLast() {
        assertEquals(c, sortedMultiset.pollLastEntry());
        assertEquals(asList(a, b), copyToList(sortedMultiset.entrySet()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top