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

7
LINES

< > BotCompany Repo | #1020544 // directChildrenOfType

JavaX fragment (include)

1  
static <A> L<A> directChildrenOfType(Container c, Class<A> theClass) {
2  
  ret instancesOf(theClass, getChildren(c));
3  
}
4  
5  
static <A> L<A> nuLike directChildrenOfType(Class<A> theClass, Container c) {
6  
  ret directChildrenOfType(c, theClass);
7  
}

Author comment

Began life as a copy of #1006619

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: #1020544
Snippet name: directChildrenOfType
Eternal ID of this version: #1020544/6
Text MD5: 5673c6d4e90ff57809addf6a610f7fd2
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-03 03:48:58
Source code size: 245 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 283 / 310
Version history: 5 change(s)
Referenced in: [show references]