1 | static <A> L<A> listMinusList(Collection<A> l, Collection stuff) { |
2 | if (empty(stuff) && l instanceof L) ret (L) l; |
3 | L<A> l2 = cloneList(l); |
4 | for (O o : stuff) |
5 | l2.remove(o); |
6 | ret l2; |
7 | } |
Began life as a copy of #1004283
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006092 |
Snippet name: | listMinusList - list minus some elements |
Eternal ID of this version: | #1006092/3 |
Text MD5: | 8559acf446fb769f553d47a28ca9fc60 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-11 19:14:55 |
Source code size: | 197 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 709 / 791 |
Version history: | 2 change(s) |
Referenced in: | [show references] |