Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testDescendingNavigation (0.28 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      public void testPollLastUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> navigableSet.pollLast());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testDescendingNavigation() {
        List<E> descending = new ArrayList<>();
        for (Iterator<E> i = navigableSet.descendingIterator(); i.hasNext(); ) {
          descending.add(i.next());
        }
        Collections.reverse(descending);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      public void testPollLastUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> navigableSet.pollLast());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testDescendingNavigation() {
        List<E> descending = new ArrayList<>();
        for (Iterator<E> i = navigableSet.descendingIterator(); i.hasNext(); ) {
          descending.add(i.next());
        }
        Collections.reverse(descending);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      public void testPollLastUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> navigableMap.pollLastEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testDescendingNavigation() {
        List<Entry<K, V>> descending = new ArrayList<>(navigableMap.descendingMap().entrySet());
        Collections.reverse(descending);
        assertEquals(entries, descending);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testPollLastUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> sortedMultiset.pollLastEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testDescendingNavigation() {
        List<Entry<E>> ascending = new ArrayList<>();
        Iterators.addAll(ascending, sortedMultiset.entrySet().iterator());
        List<Entry<E>> descending = new ArrayList<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testPollLastUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> sortedMultiset.pollLastEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testDescendingNavigation() {
        List<Entry<E>> ascending = new ArrayList<>();
        Iterators.addAll(ascending, sortedMultiset.entrySet().iterator());
        List<Entry<E>> descending = new ArrayList<>();
    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