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

7
LINES

< > BotCompany Repo | #1019721 - sameComponentOrDeepChildOf

JavaX fragment (include)

sbool sameComponentOrDeepChildOf(Component a, Component b) {
  do {
    if (a == b) true;
    a = getParent(a);
  } while (a != null);
  false;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 11 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019721
Snippet name: sameComponentOrDeepChildOf
Eternal ID of this version: #1019721/1
Text MD5: 00f85a79742e0576c4e908dee8337150
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-23 21:00:13
Source code size: 151 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 138 / 165
Referenced in: [show references]

Formerly at http://tinybrain.de/1019721 & http://1019721.tinybrain.de