static void scanForComponentsByShortName(Component c, S shortName, L<Component> l) { if (eq(shortClassName(c), shortName)) l.add(c); if (c instanceof Container) for (Component comp : ((Container) c).getComponents()) scanForComponentsByShortName(comp, shortName, l); }
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 |
| Category: | |
| 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: | 638 / 665 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |