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; null; }
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: | 436 / 508 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1020950 - classNameEndsWith |