Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1030807 // totalMinimumHeight

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2721L/16K).

static int totalMinimumHeight(L<Component> l) {
  int h = 0;
  for (Component c : unnull(l))
    h += c.getMinimumSize().height;
  ret h;
}

Author comment

Began life as a copy of #1014726

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030807
Snippet name: totalMinimumHeight
Eternal ID of this version: #1030807/1
Text MD5: e62defcc45aee09d7b1f54141b3565aa
Transpilation MD5: f7b76ce9e0bbfe6bb4aa243f49a7b3cf
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-28 19:00:06
Source code size: 144 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 86 / 134
Referenced in: [show references]