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

7
LINES

< > BotCompany Repo | #1020544 // directChildrenOfType

JavaX fragment (include)

static <A> L<A> directChildrenOfType(Container c, Class<A> theClass) {
  ret instancesOf(theClass, getChildren(c));
}

static <A> L<A> nuLike directChildrenOfType(Class<A> theClass, Container c) {
  ret directChildrenOfType(c, theClass);
}

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: 284 / 310
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)