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

7
LINES

< > BotCompany Repo | #1031677 // rCallF - callF with reversed arguments

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

Libraryless. Click here for Pure Java version (3809L/22K).

static <A, B> B rCallF(A a, IF1<A, B> f) {
  ret f?.get(a);
}

static <A> void rCallF(A a, IVF1<A> f) {
  f?.get(a);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 5 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031677
Snippet name: rCallF - callF with reversed arguments
Eternal ID of this version: #1031677/3
Text MD5: 026c6dd757e1716249e64e305c80b757
Transpilation MD5: 101774291173130b45b69a342b91b592
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-18 05:08:36
Source code size: 124 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 226 / 308
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1033539 - rCallFUnlessNull - call function on argument unless argument is null