- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for UseCollectionConstructor (0.58 sec)
-
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) -
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) -
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)