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

7
LINES

< > BotCompany Repo | #1016641 // rootThreadGroup

JavaX fragment (include)

1  
static ThreadGroup rootThreadGroup() {
2  
  ThreadGroup rootGroup = Thread.currentThread().getThreadGroup();
3  
  ThreadGroup parentGroup;
4  
  while ((parentGroup = rootGroup.getParent()) != null)
5  
    rootGroup = parentGroup;
6  
  ret rootGroup;
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016641
Snippet name: rootThreadGroup
Eternal ID of this version: #1016641/1
Text MD5: cc8ea5d4d0fbca257584a1d71375fae4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-26 15:02:13
Source code size: 242 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 384 / 402
Referenced in: [show references]