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

9
LINES

< > BotCompany Repo | #1033376 // if1WithToString

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

Libraryless. Click here for Pure Java version (4509L/25K).

static <A, B> IF1<A, B> if1WithToString(S toString, IF1<A, B> f) {
  ret f == null ?: new IF1<A, B>() {
    public B get(A a) {
      ret f.get(a);
    }
    
    toString { ret toString; }
  };
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): bhatertpkbcr, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033376
Snippet name: if1WithToString
Eternal ID of this version: #1033376/3
Text MD5: 038f963a24f21a25c8d2450908c55aa5
Transpilation MD5: 86fba2cb19c314a7e64ca2cbeb872574
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-26 23:51:39
Source code size: 204 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 130 / 181
Version history: 2 change(s)
Referenced in: #1033377 - ivf1WithToString