1 | static <A, B> L<A> elementsNotInMap(Collection<A> c, Map<A, B> map) {
|
2 | new L<A> l; |
3 | if (c != null) for (A a : c) |
4 | if (!map.containsKey(a)) |
5 | l.add(a); |
6 | ret l; |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1010970 |
| Snippet name: | elementsNotInMap |
| Eternal ID of this version: | #1010970/2 |
| Text MD5: | 600a529bc5c0f0375ffbc848ffc28d40 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-10-10 19:54:16 |
| Source code size: | 176 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 569 / 619 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |