Libraryless. Click here for Pure Java version (2566L/16K).
static <A, B extends A> L<B> safeFilter(Iterable<B> c, IF1<A, Bool> pred) { ret filter(c, pred); } static <A, B extends A> L<B> lambdaMapLike safeFilter(IF1<A, Bool> pred, Iterable<B> c) { ret filter(c, pred); }
Began life as a copy of #1003524
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030040 |
Snippet name: | safeFilter |
Eternal ID of this version: | #1030040/1 |
Text MD5: | 0a7f067457866c6666adc5726243003b |
Transpilation MD5: | 44ab23a22e3cafa7153050f928479d71 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-11-02 11:11:02 |
Source code size: | 222 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 196 / 284 |
Referenced in: | [show references] |