static int minXOfFirstNChildren_rightOf(final Container c, final int n, final int minX) { ret swing(func -> int { int x = c.getWidth(); for (Component child : takeFirst(n, getChildren(c))) if (child.getX() >= minX) x = min(x, child.getX()); ret x; }); }
Began life as a copy of #1020056
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020071 |
Snippet name: | minXOfFirstNChildren_rightOf |
Eternal ID of this version: | #1020071/1 |
Text MD5: | f4f0b407e1ca42a225f43d471e9d2598 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-05 14:20:16 |
Source code size: | 282 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 298 / 326 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |