Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1031671 // getThreadByID - somewhat slow

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2876L/17K).

1  
static Thread getThreadByID(long threadID) {
2  
  ret firstThat(allThreads_fast(), t -> threadID(t) == threadID);
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031671
Snippet name: getThreadByID - somewhat slow
Eternal ID of this version: #1031671/1
Text MD5: 09f692690842f99e633755a8ed7a6124
Transpilation MD5: e8a5f9021dc0bbde277e04213b4e7bf0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-25 12:56:40
Source code size: 114 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 195 / 265
Referenced in: [show references]