Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testToSet (0.07 seconds)

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

      public void testToSortedList_withDuplicates() {
        assertEquals(
            Lists.newArrayList(4, 3, 1, 1),
            fluent(1, 4, 1, 3).toSortedList(Ordering.<Integer>natural().reverse()));
      }
    
      public void testToSet() {
        assertThat(fluent(1, 2, 3, 4).toSet()).containsExactly(1, 2, 3, 4).inOrder();
      }
    
      public void testToSet_removeDuplicates() {
        assertThat(fluent(1, 2, 1, 2).toSet()).containsExactly(1, 2).inOrder();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 30.5K bytes
    - Click Count (0)
Back to Top