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

3
LINES

< > BotCompany Repo | #1028115 // threadIsNewOrTerminated

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

Libraryless. Click here for Pure Java version (49L/1K).

sbool threadIsNewOrTerminated(Thread t) {
  ret eqOneOf(t.getState(), Thread.State.NEW, Thread.State.TERMINATED);
}

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: #1028115
Snippet name: threadIsNewOrTerminated
Eternal ID of this version: #1028115/1
Text MD5: db48f6d77ee33c0b84fe515f35c2fa8f
Transpilation MD5: 5869007e73cbdb300676359cf6c97ecb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-20 12:57:18
Source code size: 117 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 188 / 301
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)