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

3
LINES

< > BotCompany Repo | #1014724 // getComponents - Container.getComponents() as list

JavaX fragment (include)

static L<Component> getComponents(final Component c) {
  ret !(c instanceof Container) ? emptyList() : asList(swing(func -> Component[] { ((Container) c).getComponents() }));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014724
Snippet name: getComponents - Container.getComponents() as list
Eternal ID of this version: #1014724/4
Text MD5: df81051c794c6a57eeafea299faf0916
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-03 13:22:19
Source code size: 178 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 411 / 531
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)