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


< > BotCompany Repo | #1030040 - safeFilter

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

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);

Author comment

Began life as a copy of #1003524

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

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: 36 / 59
Referenced in: #1006654

Formerly at &