1 | static <A> void replaceCollection(Collection<A> dest, Collection<A> src) {
|
2 | if (dest == src) ret; |
3 | dest.clear(); |
4 | if (src != null) dest.addAll(src); |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1002097 |
| Snippet name: | replaceCollection |
| Eternal ID of this version: | #1002097/3 |
| Text MD5: | 070c52a6c40b268e1a55f0772e1873ee |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-02-20 16:15:00 |
| Source code size: | 157 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1314 / 2649 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |