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

3
LINES

< > BotCompany Repo | #1010639 // numberOfChildren

JavaX fragment (include)

static int numberOfChildren(final Container c) {
  ret c == null ? 0 : swing(func -> int { c.getComponentCount() });
}

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: #1010639
Snippet name: numberOfChildren
Eternal ID of this version: #1010639/2
Text MD5: 30e3ead18fe47b47ca66a4e9b5a6b435
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 11:35:12
Source code size: 120 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 445 / 498
Version history: 1 change(s)
Referenced in: [show references]