Libraryless. Click here for Pure Java version (2885L/18K).
1 | // pairs are (module ID, FixedRateTimer) |
2 | static LPair<S, O> dm_listModulesAndTimers() {
|
3 | new LPair<S, O> out; |
4 | for (S mod : dm_moduleIDs()) {
|
5 | Map map = cast dm_getOpt(mod, 'timers); |
6 | L timers = filterByShortName FixedRateTimer(keys(map)); |
7 | fOr (O timer : timers) |
8 | out.add(pair(mod, timer)); |
9 | } |
10 | ret out; |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1027538 |
| Snippet name: | dm_listModulesAndTimers |
| Eternal ID of this version: | #1027538/2 |
| Text MD5: | 689505244556c4013337a24aa835d26f |
| Transpilation MD5: | 0c86a5d4c06d35f62d3b6f26e96125cb |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-03-23 12:57:30 |
| Source code size: | 334 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 479 / 604 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |