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

11
LINES

< > BotCompany Repo | #1026156 // indexConceptFieldsOrdered - index certain concept fields in order (desc, internally)

JavaX fragment (include)

// first parameter can be Concepts
svoid indexConceptFieldsOrdered(O... params) {
  int i = 0;
  Concepts concepts;
  if (first(params) instanceof Concepts) {
    concepts = (Concepts) first(params);
    ++i;
  } else concepts = db_mainConcepts();
  for (; i < l(params); i += 2)
    indexConceptFieldDesc(concepts, (Class) params[i], (S) params[i+1]);
}

Author comment

Began life as a copy of #1024290

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: #1026156
Snippet name: indexConceptFieldsOrdered - index certain concept fields in order (desc, internally)
Eternal ID of this version: #1026156/1
Text MD5: e0d891e5ad6c3cea02e3f76d6ae3c391
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-27 13:26:48
Source code size: 364 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 259 / 316
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)