1 | static L<Thread> threadInfosToThreads(L<ThreadInfo> l) { |
2 | new HashMap<Long, Thread> map; |
3 | for (Thread t : keys(Thread.getAllStackTraces())) |
4 | map.put(t.getId(), t); |
5 | new L<Thread> out; |
6 | for (ThreadInfo t : l) |
7 | addIfNotNull(out, map.get(t.getThreadId())); |
8 | ret out; |
9 | } |
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: | #1009303 |
Snippet name: | threadInfosToThreads |
Eternal ID of this version: | #1009303/3 |
Text MD5: | 991624f27273442a7b454fa9795e44d1 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-07-22 04:29:31 |
Source code size: | 284 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 560 / 574 |
Version history: | 2 change(s) |
Referenced in: | [show references] |