- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestMap (0.05 sec)
-
android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
import junit.framework.TestCase; /** Tests for {@code CollectSpliterators}. */ @GwtCompatible @ElementTypesAreNonnullByDefault public class CollectSpliteratorsTest extends TestCase { public void testMap() { SpliteratorTester.of( () -> CollectSpliterators.map( Arrays.spliterator(new String[] {"a", "b", "c", "d", "e"}), Ascii::toUpperCase))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
} public void test_useForNull_twice() { Joiner j = Joiner.on("x").useForNull("y"); assertThrows(UnsupportedOperationException.class, () -> j.useForNull("y")); } public void testMap() { MapJoiner j = Joiner.on(';').withKeyValueSeparator(':'); assertEquals("", j.join(ImmutableMap.of())); assertEquals(":", j.join(ImmutableMap.of("", "")));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 11.7K bytes - Viewed (0)