- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testCopyOf_collection_enumSet (0.17 sec)
-
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
assertThrows(NullPointerException.class, () -> copyOf((Collection<String>) c)); } enum TestEnum { A, B, C, D } public void testCopyOf_collection_enumSet() { Collection<TestEnum> c = EnumSet.of(TestEnum.A, TestEnum.B, TestEnum.D); Set<TestEnum> set = copyOf(c); assertEquals(3, set.size()); assertEquals(c, set); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.5K bytes - Viewed (0)