Libraryless. Click here for Pure Java version (33L/1K).
static <A extends AutoCloseable> A holdResource(IResourceHolder holder, A a) { holder?.add(a); ret a; }
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: | 187 / 265 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |