Libraryless. Click here for Pure Java version (17205L/104K).
// only works within a module sclass StandardClasses is AutoCloseable { volatile SS map; AutoCloseable updater; *() { updater = dm_onSnippetEdited(voidfunc(S id) { if (contains(standardClassesSnippetIDs(), fsI(id))) map = null; }); } // name to snippetID SS getMap() { if (map == null) map = standardClassesMap_uncached(); ret map; } public void close { dispose updater; } }
Began life as a copy of #1032676
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1032678 |
| Snippet name: | StandardClasses |
| Eternal ID of this version: | #1032678/4 |
| Text MD5: | a490e3e90428abe973fd7487b48a884e |
| Transpilation MD5: | 585fe5b7ca8ef61437506f9328313a85 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-25 18:10:03 |
| Source code size: | 458 bytes / 22 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 467 / 651 |
| Version history: | 3 change(s) |
| Referenced in: | #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |