1 | static Map<ThreadInfo, Thread> threadInfosToThreads_map(L<ThreadInfo> l) { |
2 | new HashMap<Long, Thread> map; |
3 | for (Thread t : keys(Thread.getAllStackTraces())) |
4 | map.put(t.getId(), t); |
5 | new HashMap<ThreadInfo, Thread> out; |
6 | for (ThreadInfo t : l) |
7 | mapPut(out, t, map.get(t.getThreadId())); |
8 | ret out; |
9 | } |
Began life as a copy of #1009303
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009310 |
Snippet name: | threadInfosToThreads_map |
Eternal ID of this version: | #1009310/2 |
Text MD5: | dcd44c5ac33f1591c05f5f1e4d5fc150 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-07-23 02:14:56 |
Source code size: | 317 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 483 / 533 |
Version history: | 1 change(s) |
Referenced in: | [show references] |