1 | static int totalPreferredHeight(L<Component> l) {
|
2 | int h = 0; |
3 | for (Component c : unnull(l)) |
4 | h += c.getPreferredSize().height; |
5 | ret h; |
6 | } |
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: | #1014726 |
| Snippet name: | totalPreferredHeight |
| Eternal ID of this version: | #1014726/1 |
| Text MD5: | a4f1aaccabb0bef520b21e1425b5ba97 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-01 14:24:29 |
| Source code size: | 148 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 983 / 991 |
| Referenced in: | [show references] |