Libraryless. Click here for Pure Java version (93L/1K).
1 | persistable sclass WrappedCloseable<A extends AutoCloseable> is IAutoCloseableF0<A> { |
2 | A closeable; |
3 | |
4 | *(A *closeable) {} |
5 | |
6 | public A get() { ret closeable; } |
7 | |
8 | close { |
9 | beforeClose(); |
10 | main close(closeable); |
11 | } |
12 | |
13 | void beforeClose {} |
14 | } |
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1036129 |
Snippet name: | WrappedCloseable |
Eternal ID of this version: | #1036129/2 |
Text MD5: | c2a20a105de45b5763e1a55491b18008 |
Transpilation MD5: | 889c5903b7d03f7ff5b6dcb4e5c2f70b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-09-26 01:23:45 |
Source code size: | 266 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 120 / 187 |
Version history: | 1 change(s) |
Referenced in: | [show references] |