Created
October 9, 2018 12:49
-
-
Save zhanggang807/cbfa1d30d4959393f45c2e538ff0a2c0 to your computer and use it in GitHub Desktop.
guava 两个集合弄找差集
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collection<Long> idOnlyInList1 = Collections2.filter(idList1, Predicates.not(Predicates.in(idList2))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment