(num: number)
| 77 | } |
| 78 | |
| 79 | public getThreadInfoFromNumber(num: number): ThreadInfo | undefined { |
| 80 | for (const thread of this.threads) { |
| 81 | if (thread.num === num) |
| 82 | return thread; |
| 83 | } |
| 84 | return undefined; |
| 85 | } |
| 86 | |
| 87 | public getThreads(): Thread[] { |
| 88 | return this.threads.map((thread: ThreadInfo) => new Thread(thread.num, thread.ref.name)); |
no outgoing calls
no test coverage detected