- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ToMap (0.34 sec)
-
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testToMap() { assertThat(fluent(1, 2, 3).toMap(Functions.toStringFunction()).entrySet()) .containsExactly( Maps.immutableEntry(1, "1"), Maps.immutableEntry(2, "2"), Maps.immutableEntry(3, "3")) .inOrder(); } public void testToMap_nullKey() { try { fluent(1, null, 2).toMap(Functions.constant("foo")); fail();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 06 17:32:08 GMT 2023 - 30.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testToMap() { assertThat(fluent(1, 2, 3).toMap(Functions.toStringFunction()).entrySet()) .containsExactly( Maps.immutableEntry(1, "1"), Maps.immutableEntry(2, "2"), Maps.immutableEntry(3, "3")) .inOrder(); } public void testToMap_nullKey() { try { fluent(1, null, 2).toMap(Functions.constant("foo")); fail();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 18:35:19 GMT 2024 - 31.1K bytes - Viewed (0)