Libraryless. Click here for Pure Java version (3460L/19K).
1 | sclass WithCloseable<A> extends Var<A> implements IAutoCloseableF0<A> {
|
2 | Closeable closeable; |
3 | |
4 | *(Closeable *closeable, A a) { super(a); }
|
5 | *(A a) { super(a); }
|
6 | |
7 | public void close { _close(closeable); }
|
8 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032448 |
| Snippet name: | WithCloseable |
| Eternal ID of this version: | #1032448/3 |
| Text MD5: | 6bb039e15dea5969c881500f0ef37939 |
| Transpilation MD5: | 431c410f968d09ea6d85c9b58880688c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-09-06 16:02:05 |
| Source code size: | 220 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 358 / 512 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |