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

7
LINES

< > BotCompany Repo | #1026679 // filterToLines

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

Transpiled version (2404L) is out of date.

static <A, B extends A> S lambdaMapLike filterToLines(IF1<A, Bool> pred, Iterable<B> c) {
  ret lines(filter(pred, c));
}

static <A, B extends A> S filterToLines(Iterable<B> c, IF1<A, Bool> pred) {
  ret lines(filter(c, pred));
}

Author comment

Began life as a copy of #1003524

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: #1026679
Snippet name: filterToLines
Eternal ID of this version: #1026679/4
Text MD5: aa7709579777129b99cb9a0e9954b7e5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-18 22:57:48
Source code size: 236 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 179 / 262
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1027043 - filterLines