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

16
LINES

< > BotCompany Repo | #1015644 // formatFunctionCall

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

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

// binary legacy syntax
sS formatFunctionCall(S fname, O... args) {
  ret formatFunctionCall((O) fname, args);
}
  
sS mapMethodLike formatFunctionCall(O fname, O... args) {
  ret fname + "(" + joinWithComma(allToString(args)) + ")";
}

sS formatFunctionCall(S fname, Iterable args) {
  ret formatFunctionCall((O) fname, args);
}

sS formatFunctionCall(O fname, Iterable args) {
  ret formatFunctionCall(fname, toObjectArray(args));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015644
Snippet name: formatFunctionCall
Eternal ID of this version: #1015644/7
Text MD5: afa81ac0b346ef5574234b184d77de63
Transpilation MD5: 3e6820a435c3439704291d916632b431
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-16 00:50:29
Source code size: 449 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 390 / 502
Version history: 6 change(s)
Referenced in: [show references]