- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testNewSetFromMapIllegal (1.46 sec)
-
android/guava-tests/test/com/google/common/collect/SetsTest.java
assertThat(copy).containsExactly(0, 1).inOrder(); } @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method public void testNewSetFromMapIllegal() { Map<Integer, Boolean> map = new LinkedHashMap<>(); map.put(2, true); assertThrows(IllegalArgumentException.class, () -> Sets.newSetFromMap(map)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (0)