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