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


< > BotCompany Repo | #1015817 // scanForComponentsByShortName

JavaX fragment (include)

static void scanForComponentsByShortName(Component c, S shortName, L<Component> l) {
  if (eq(shortClassName(c), shortName))
  if (c instanceof Container)
    for (Component comp : ((Container) c).getComponents())
      scanForComponentsByShortName(comp, shortName, l);

Author comment

Began life as a copy of #1001636

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015817
Snippet name: scanForComponentsByShortName
Eternal ID of this version: #1015817/4
Text MD5: 4bfc8079c74866d1a6469a181cce867d
Author: stefan
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-28 00:54:48
Source code size: 291 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 282 / 317
Version history: 3 change(s)
Referenced in: [show references]