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

8
LINES

< > BotCompany Repo | #1022092 // getFieldsAsParams

JavaX fragment (include)

1  
static O[] getFieldsAsParams(O o, Collection<S> fields) {
2  
  new L l;
3  
  if (fields != null) for (S f : fields) {
4  
    l.add(f);
5  
    l.add(getOpt(o, f));
6  
  }
7  
  ret toObjectArray(l);
8  
}

Author comment

Began life as a copy of #1005079

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022092
Snippet name: getFieldsAsParams
Eternal ID of this version: #1022092/3
Text MD5: 072888bd8d3d4e50eb5db5738376d767
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-07 18:50:39
Source code size: 187 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 229 / 262
Version history: 2 change(s)
Referenced in: [show references]