Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestArrayList (0.07 sec)

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

          }
        }
    
        // Test that toArray() is used to make a defensive copy in copyOf(), so concurrently modified
        // synchronized collections can be safely copied.
        TestArrayList<String> toCopy = new TestArrayList<>();
        ImmutableSortedMultiset<String> unused =
            ImmutableSortedMultiset.copyOf(Ordering.natural(), toCopy);
        assertTrue(toCopy.toArrayCalled);
      }
    
      @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      }
    
      public void testList() {
        assertFreshInstance(new TypeToken<List<String>>() {});
        assertNotInstantiable(new TypeToken<List<EmptyEnum>>() {});
      }
    
      public void testArrayList() {
        assertFreshInstance(new TypeToken<ArrayList<String>>() {});
        assertNotInstantiable(new TypeToken<ArrayList<EmptyEnum>>() {});
      }
    
      public void testLinkedList() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      }
    
      public void testList() {
        assertFreshInstance(new TypeToken<List<String>>() {});
        assertNotInstantiable(new TypeToken<List<EmptyEnum>>() {});
      }
    
      public void testArrayList() {
        assertFreshInstance(new TypeToken<ArrayList<String>>() {});
        assertNotInstantiable(new TypeToken<ArrayList<EmptyEnum>>() {});
      }
    
      public void testLinkedList() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
Back to top