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

3
LINES

< > BotCompany Repo | #1025421 // tok_genRecordFieldsToList

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

Libraryless. Click here for Pure Java version (2199L/14K).

1  
sS tok_genRecordFieldsToList(LPairS fields) {
2  
  ret "public O[] _fieldsToList() { " + (empty(fields) ? "null;" : "ret new O[] {" + joinWithComma(pairsB(fields)) + "};") + " }\n";
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025421
Snippet name: tok_genRecordFieldsToList
Eternal ID of this version: #1025421/3
Text MD5: 1720e496bdf0a37c67a5c3a925ac81c6
Transpilation MD5: 267c7bb3a1021f35e7f72ec22fb5596c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-28 22:44:31
Source code size: 182 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 264 / 377
Version history: 2 change(s)
Referenced in: [show references]