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

3
LINES

< > BotCompany Repo | #1028585 // pwt_filterByType

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

Libraryless. Click here for Pure Java version (2757L/17K).

static <A> L<ParsedWithTokens<A>> nuLike pwt_filterByType(Class<A> type, Iterable<ParsedWithTokens> l) {
  ret (L) filter(l, p -> isInstance(type, p!));
}

Author comment

Began life as a copy of #1028582

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028585
Snippet name: pwt_filterByType
Eternal ID of this version: #1028585/6
Text MD5: f6578de937ff362e8b821a5329fea569
Transpilation MD5: 6d897ef7b785fe302194de592567cf8e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-27 21:43:03
Source code size: 156 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 193 / 315
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)