1 | sclass WithAutoCloseable<A> implements AutoCloseable { |
2 | AutoCloseable autoCloseable; |
3 | A value; |
4 | |
5 | *() {} |
6 | *(AutoCloseable *autoCloseable, A *value) {} |
7 | |
8 | A get() { ret value; } |
9 | |
10 | public void close { |
11 | closeAutoCloseable(autoCloseable); |
12 | autoCloseable = null; |
13 | } |
14 | } |
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019169 |
Snippet name: | WithAutoCloseable |
Eternal ID of this version: | #1019169/2 |
Text MD5: | 92901c4e7ea715be6fac0c55d06ee61d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-26 19:46:07 |
Source code size: | 292 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 366 / 909 |
Version history: | 1 change(s) |
Referenced in: | [show references] |