当前位置:网站首页>Take the intersection of two sets
Take the intersection of two sets
2022-07-07 21:20:00 【Maple forest [email protected]】
List<Long> departmentUserNos = departmentVOList.stream().map(UserDepartmentVO::getUserNo).collect(toList());
List<Long> postUserNos = uo.stream().map(UserPostVO::getUserNo).collect(toList());
// Extract intersection data
List<Long> collect = departmentUserNos.stream().filter(postUserNos::contains).collect(toList());
// Take the difference set
departmentUserNos.removeAll(collect )---> The rest in the set is departmentUserNos Unique
Empathy :
postUserNos.removeAll(collect ) ---> The rest in the set is postUserNos Unique 版权声明
本文为[Maple forest [email protected]]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207071812417642.html
边栏推荐
- Addition, deletion, modification and query of sqlhelper
- Measure the height of the building
- FTP steps for downloading files from Huawei CE switches
- Guava multithreading, futurecallback thread calls are uneven
- Intelligent transportation is full of vitality. What will happen in the future? [easy to understand]
- Unity3d 4.3.4f1执行项目
- How to choose financial products? Novice doesn't know anything
- H3C s7000/s7500e/10500 series post stack BFD detection configuration method
- 【OpenCV 例程200篇】223. 特征提取之多边形拟合(cv.approxPolyDP)
- 反诈困境,国有大行如何破局?
猜你喜欢

Make this crmeb single merchant wechat mall system popular, so easy to use!

Details of C language integer and floating-point data storage in memory (including details of original code, inverse code, complement, size end storage, etc.)
![[200 opencv routines] 223 Polygon fitting for feature extraction (cv.approxpolydp)](/img/1e/055df228853d9b464fc4bcbde0a7ee.png)
[200 opencv routines] 223 Polygon fitting for feature extraction (cv.approxpolydp)

目标:不排斥 yaml 语法。争取快速上手

使用枚举实现英文转盲文

程序猿赚的那点钱算个P啊!

Tensorflow2.x下如何运行1.x的代码
Lex & yacc of Pisa proxy SQL parsing

H3C s7000/s7500e/10500 series post stack BFD detection configuration method

The little money made by the program ape is a P!
随机推荐
恶魔奶爸 指南帖——简易版
死锁的产生条件和预防处理[通俗易懂]
object-c编程tips-timer「建议收藏」
Is embedded system really safe? [how does onespin comprehensively solve the IC integrity problem for the development team]
AADL inspector fault tree safety analysis module
Implement secondary index with Gaussian redis
Unity3d 4.3.4f1 execution project
Intelligent software analysis platform embold
Codeforces 474 F. Ant colony
[200 opencv routines] 223 Polygon fitting for feature extraction (cv.approxpolydp)
Codeforces 474 F. Ant colony
恶魔奶爸 A3阶段 近常速语流初接触
Differences and connections between MinGW, mingw-w64, tdm-gcc and other tool chains "suggestions collection"
UVA 12230 – crossing rivers (probability) "suggested collection"
程序猿赚的那点钱算个P啊!
Do you have to make money in the account to open an account? Is the fund safe?
How can big state-owned banks break the anti fraud dilemma?
Awk processing JSON processing
反诈困境,国有大行如何破局?
Postgresql数据库character varying和character的区别说明