- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testSingletonBuilder (0.07 sec)
-
guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
assertEquals(Collections.<String, Integer>emptyMap(), map); assertEquals(Collections.<Integer, String>emptyMap(), map.inverse()); assertSame(ImmutableBiMap.of(), map); } public void testSingletonBuilder() { ImmutableBiMap<String, Integer> map = new Builder<String, Integer>().put("one", 1).build(); assertMapEquals(map, "one", 1); assertMapEquals(map.inverse(), 1, "one"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMapTest.java
public void testEmptyBuilder() { ImmutableMap<String, Integer> map = new Builder<String, Integer>().buildOrThrow(); assertEquals(Collections.<String, Integer>emptyMap(), map); } public void testSingletonBuilder() { ImmutableMap<String, Integer> map = new Builder<String, Integer>().put("one", 1).buildOrThrow(); assertMapEquals(map, "one", 1); } public void testBuilder() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
public void testEmptyBuilder() { ImmutableMap<String, Integer> map = new Builder<String, Integer>().buildOrThrow(); assertEquals(Collections.<String, Integer>emptyMap(), map); } public void testSingletonBuilder() { ImmutableMap<String, Integer> map = new Builder<String, Integer>().put("one", 1).buildOrThrow(); assertMapEquals(map, "one", 1); } public void testBuilder() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.6K bytes - Viewed (0)