Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSortedCopyOf_natural_singleton (0.51 sec)

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

        Collection<Integer> c = MinimalCollection.of();
        ImmutableList<Integer> list = ImmutableList.sortedCopyOf(c);
        assertEquals(asList(), list);
      }
    
      public void testSortedCopyOf_natural_singleton() {
        Collection<Integer> c = MinimalCollection.of(100);
        ImmutableList<Integer> list = ImmutableList.sortedCopyOf(c);
        assertEquals(asList(100), 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