Libraryless. Click here for Pure Java version (2566L/16K).
1 | static <A, B extends A> L<B> safeFilter(Iterable<B> c, IF1<A, Bool> pred) { |
2 | ret filter(c, pred); |
3 | } |
4 | |
5 | static <A, B extends A> L<B> lambdaMapLike safeFilter(IF1<A, Bool> pred, Iterable<B> c) { |
6 | ret filter(c, pred); |
7 | } |
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: | 236 / 337 |
Referenced in: | [show references] |