1 | static void cleanUpAndClear(Collection c) { |
2 | if (c == null) ret; |
3 | cleanUp(c); |
4 | c.clear(); |
5 | } |
6 | |
7 | static void cleanUpAndClear(Map map) { |
8 | if (map == null) ret; |
9 | cleanUp(map); |
10 | map.clear(); |
11 | } |
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: | #1009324 |
Snippet name: | cleanUpAndClear - clean up list elements and clear list (also map) |
Eternal ID of this version: | #1009324/3 |
Text MD5: | 1bd1a994dfcc7a2bc6f6aa1995134a73 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-29 14:17:31 |
Source code size: | 201 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 470 / 496 |
Version history: | 2 change(s) |
Referenced in: | [show references] |