Libraryless. Click here for Pure Java version (2527L/16K).
// module ID => sticky library IDs static MultiMap<S> dm_stickyLibsByModule() { new MultiMap<S> mm; for (S mod : dm_listModuleIDs()) { O main = dm_modMainClass(mod); for (S field : fieldNames(main)) if (eq(field, '_stickyLibs) || startsWith(field, "_stickyLibs_")) pcall { mm.putAll(mod, (Collection<S>) get(main, field)); } } ret uniquifyMultiMapValues(mm); }
Began life as a copy of #1023432
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, yanjaxplzisb
No comments. add comment
Snippet ID: | #1024024 |
Snippet name: | dm_stickyLibsByModule |
Eternal ID of this version: | #1024024/5 |
Text MD5: | 4646fc6a7c261fa6065406ffbe2a99b0 |
Transpilation MD5: | 01be2be58ce5d63c3a85c6eefbaca372 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-16 20:49:12 |
Source code size: | 407 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 240 / 355 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |