Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSortedCopyOf_natural_empty (0.3 sec)

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

        Collection<Integer> c = MinimalCollection.of(4, 16, 10, -1, 5);
        ImmutableList<Integer> list = ImmutableList.sortedCopyOf(c);
        assertEquals(asList(-1, 4, 5, 10, 16), list);
      }
    
      public void testSortedCopyOf_natural_empty() {
        Collection<Integer> c = MinimalCollection.of();
        ImmutableList<Integer> list = ImmutableList.sortedCopyOf(c);
        assertEquals(asList(), list);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top