Libraryless. Click here for Pure Java version (4998L/33K).
1 | !7 |
2 | |
3 | sclass GhostModules extends DynCalculatedList { |
4 | void start { |
5 | ownTimer(doEvery(30.0, r updateMe)); |
6 | } |
7 | |
8 | L<S> calc() { |
9 | ret map(dm_ghostModules(), func(Object c, GhostModule m) { |
10 | S programID = str(getOpt(getMainClass(c), 'programID)); |
11 | bool hasInstance = m.instance! != null; |
12 | ret programID + "/" + shortClassName(c) + " - " + or2(m.name, "?") |
13 | + (hasInstance ? "" : " [instance gone]"); |
14 | }); |
15 | } |
16 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016185 |
Snippet name: | Ghost Modules (Deleted but still in memory) |
Eternal ID of this version: | #1016185/7 |
Text MD5: | 6cd1b9687241c4e3523f0e11dc6f2aae |
Transpilation MD5: | 62bfbe06806e66be126f57b5e1cf3ec0 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-24 01:57:08 |
Source code size: | 455 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 492 / 60779 |
Version history: | 6 change(s) |
Referenced in: | [show references] |