Libraryless. Click here for Pure Java version (11501L/65K).
static AutoCloseable tempRestoreSCP(SingleComponentPanel scp) { if (scp == null) null; var contents = scp!; ret -> scp.set(contents); }
Began life as a copy of #1035550
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1036403 |
| Snippet name: | tempRestoreSCP - restore contents of SingleComponentPanel after block |
| Eternal ID of this version: | #1036403/2 |
| Text MD5: | df3a7e0e559d51536397e1bbf2e0c82b |
| Transpilation MD5: | 3075adb2dd37a6103529582ffdd1e181 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-12-10 02:40:04 |
| Source code size: | 145 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 396 / 490 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |