1 | static Set<AutoCloseable> _registerAutoCloseable_set = synchroHashSet(); |
2 | |
3 | static void _registerAutoCloseable(AutoCloseable c) { |
4 | addIfNotNull(_registerAutoCloseable_set, c); |
5 | } |
6 | |
7 | static void cleanMeUp__registerAutoCloseable() { |
8 | closeAutoCloseables(getAndClearList(_registerAutoCloseable_set)); |
9 | } |
Began life as a copy of #1013153
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018884 |
Snippet name: | _registerAutoCloseable |
Eternal ID of this version: | #1018884/1 |
Text MD5: | 886e7d0f245bc542fa9f304007aea68b |
Author: | stefan |
Category: | javax / timers |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-15 15:02:59 |
Source code size: | 304 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 339 / 397 |
Referenced in: | [show references] |