Libraryless. Click here for Pure Java version (33L/1K).
1 | static <A extends AutoCloseable> A holdResource(IResourceHolder holder, A a) {
|
2 | holder?.add(a); |
3 | ret a; |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031092 |
| Snippet name: | holdResource |
| Eternal ID of this version: | #1031092/1 |
| Text MD5: | e78dd971f3e6a9bf4fbd60a447d916f0 |
| Transpilation MD5: | f3acb3e65cb655331dbbe40bcc8579ba |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-05-01 15:18:46 |
| Source code size: | 110 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 465 / 591 |
| Referenced in: | [show references] |