Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for UseCollectionConstructor (0.06 sec)

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

    public class MapsTest extends TestCase {
    
      private static final Comparator<Integer> SOME_COMPARATOR = Collections.reverseOrder();
    
      public void testHashMap() {
        @SuppressWarnings("UseCollectionConstructor") // test of factory method
        HashMap<Integer, Integer> map = Maps.newHashMap();
        assertEquals(emptyMap(), map);
      }
    
      public void testHashMapWithInitialMap() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ListsTest.java

      }
    
      public void testNewLinkedListEmpty() {
        @SuppressWarnings("UseCollectionConstructor") // test of factory method
        LinkedList<Integer> list = Lists.newLinkedList();
        assertEquals(emptyList(), list);
      }
    
      public void testNewLinkedListFromCollection() {
        @SuppressWarnings("UseCollectionConstructor") // test of factory method
        LinkedList<Integer> list = Lists.newLinkedList(SOME_COLLECTION);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsTest.java

    public class MapsTest extends TestCase {
    
      private static final Comparator<Integer> SOME_COMPARATOR = Collections.reverseOrder();
    
      public void testHashMap() {
        @SuppressWarnings("UseCollectionConstructor") // test of factory method
        HashMap<Integer, Integer> map = Maps.newHashMap();
        assertEquals(emptyMap(), map);
      }
    
      public void testHashMapWithInitialMap() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
Back to top