Libraryless. Click here for Pure Java version (2198L/14K).
1 | static IF1 objectMethodToIF1(O object, S method) { |
2 | ret object == null ? null : new IF1 { |
3 | public O get(O a) { ret call(object, method, a); } |
4 | }; |
5 | } |
Began life as a copy of #1024898
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: | #1027666 |
Snippet name: | objectMethodToIF1 |
Eternal ID of this version: | #1027666/3 |
Text MD5: | 3ad8d59f143e60c3a572ab7bbcf6bc5f |
Transpilation MD5: | f638124be12bf748263cc4d5daa86e00 |
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:04:06 |
Source code size: | 156 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 190 / 242 |
Version history: | 2 change(s) |
Referenced in: | [show references] |