This commit is contained in:
Looly
2021-09-29 11:59:24 +08:00
parent 43e24c1498
commit 58355265ff
2 changed files with 2 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ import java.util.Set;
* CollectionStream测试方法
*/
public class CollStreamUtilTest {
@Test
public void testToIdentityMap() {
Map<Long, Student> map = CollStreamUtil.toIdentityMap(null, Student::getStudentId);