Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCopyOf_collection_oneElementRepeated (0.26 sec)

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

      public void testCopyOf_collection_oneElement() {
        Collection<String> c = MinimalCollection.of("a");
        Set<String> set = copyOf(c);
        assertEquals(singleton("a"), set);
      }
    
      public void testCopyOf_collection_oneElementRepeated() {
        Collection<String> c = MinimalCollection.of("a", "a", "a");
        Set<String> set = copyOf(c);
        assertEquals(singleton("a"), set);
      }
    
      public void testCopyOf_collection_general() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top