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

7
LINES

< > BotCompany Repo | #1005327 // expandParams

JavaX fragment (include)

static <A extends Concept> O[] expandParams(Class<A> c, O[] params) {
  if (l(params) == 1)
    params = new O[] { singleFieldName(c), params[0] };
  else
    warnIfOddCount(params);
  ret params;
}

Author comment

Began life as a copy of #1005039

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005327
Snippet name: expandParams
Eternal ID of this version: #1005327/1
Text MD5: 9e2c6c210eba6088022c1ef2741697c1
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-11-05 19:11:04
Source code size: 206 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 458 / 464
Referenced in: [show references]