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

5
LINES

< > BotCompany Repo | #1027667 // objectMethodToIF0

JavaX fragment (include)

static IF0 objectMethodToIF0(O object, S method) {
  ret object == null ? null : new IF0 {
    public O get() { ret call(object, method); }
  };
}

Author comment

Began life as a copy of #1027666

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: #1027667
Snippet name: objectMethodToIF0
Eternal ID of this version: #1027667/1
Text MD5: f8508b1e663e57b8faf9f55ebc825d41
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-29 23:05:08
Source code size: 150 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 152 / 168
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)