Libraryless. Click here for Pure Java version (93L/1K).
persistable sclass WrappedCloseable<A extends AutoCloseable> is IAutoCloseableF0<A> { A closeable; *(A *closeable) {} public A get() { ret closeable; } close { beforeClose(); main close(closeable); } void beforeClose {} }
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: | 119 / 186 |
Version history: | 1 change(s) |
Referenced in: | #1003674 - Standard Classes + Interfaces (LIVE continued in #1034167) #1036601 - CloseableWrapper - wraps an object + user-defined close function |