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


< > BotCompany Repo | #1016350 // childWithClassNameEndingWith

JavaX fragment (include)

static Component childWithClassNameEndingWith(Component c, S suffix) {
  if (endsWith(className(c), suffix)) ret c;
  Component x;
  for (Component comp : getComponents(c))
    if ((x = childWithClassNameEndingWith(comp, suffix)) != null) ret x;

Author comment

Began life as a copy of #1015815

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: #1016350
Snippet name: childWithClassNameEndingWith
Eternal ID of this version: #1016350/5
Text MD5: 1d293f942819de5ab571d9e78afcfb63
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-16 13:14:17
Source code size: 261 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 305 / 374
Version history: 4 change(s)
Referenced in: [show references]