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

10
LINES

< > BotCompany Repo | #1026271 - allConceptFieldsAsParams

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

Libraryless. Click here for Pure Java version (12623L/86K).

static O[] allConceptFieldsAsParams(Concept c) {
  Cl<S> l = conceptFields(c);
  O[] params = new[l(l)*2];
  int i = 0;
  fOr (S field : l) {
    params[i++] = field;
    params[i++] = cget(c, field);
  }
  ret params;
}

Author comment

Began life as a copy of #1005294

download  show line numbers  debug dex   

Travelled to 2 computer(s): mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1026271
Snippet name: allConceptFieldsAsParams
Eternal ID of this version: #1026271/4
Text MD5: b9e945886eb202949643ced741eb9ef7
Transpilation MD5: 51cbd3ed3e56525455e8932050c5ff6f
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-12-09 23:07:53
Source code size: 229 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 16 / 39
Version history: 3 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1026271 & http://1026271.tinybrain.de