- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testHashMap (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
assertFreshInstance(new TypeToken<Iterable<String>>() {}); } public void testMap() { assertFreshInstance(new TypeToken<Map<String, ?>>() {}); } public void testHashMap() { assertFreshInstance(new TypeToken<HashMap<String, ?>>() {}); } public void testLinkedHashMap() { assertFreshInstance(new TypeToken<LinkedHashMap<String, ?>>() {}); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 17.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
@SuppressWarnings("JUnitIncompatibleType") // Many intentional violations here. 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() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0)