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

8
LINES

< > BotCompany Repo | #1033922 // isGrandChildOf

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

Transpiled version (5221L) is out of date.

sbool isGrandChildOf(Component a, Component b) swing {
  if (a == null || b == null) false;
  if (a == b) true;
  reMutable a;
  while ((a = getParent(a)) != null)
    if (a == b) true;
  false;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033922
Snippet name: isGrandChildOf
Eternal ID of this version: #1033922/5
Text MD5: 9540e3d35de7daf981c46059b760ef2f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-08 05:02:01
Source code size: 203 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 84 / 133
Version history: 4 change(s)
Referenced in: [show references]