1 | static <A> A lookupSwingAncestor(Map<Component, A> map, Component c) {
|
2 | while (c != null) {
|
3 | A a = map.get(c); |
4 | if (a != null) ret a; |
5 | c = getParent(c); |
6 | } |
7 | null; |
8 | } |
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: | #1016597 |
| Snippet name: | lookupSwingAncestor |
| Eternal ID of this version: | #1016597/2 |
| Text MD5: | a5b61aa2c6f98c2e17fc644b1548c28b |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-06-24 17:31:03 |
| Source code size: | 183 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 632 / 660 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |