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

7
LINES

< > BotCompany Repo | #1016641 // rootThreadGroup

JavaX fragment (include)

static ThreadGroup rootThreadGroup() {
  ThreadGroup rootGroup = Thread.currentThread().getThreadGroup();
  ThreadGroup parentGroup;
  while ((parentGroup = rootGroup.getParent()) != null)
    rootGroup = parentGroup;
  ret rootGroup;
}

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: 382 / 400
Referenced in: [show references]