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

11
LINES

< > BotCompany Repo | #1024289 // indexConceptFieldsCI - index certain case-insensitive concept fields - idempotent

JavaX fragment (include)

// first parameter can be Concepts
svoid indexConceptFieldsCI(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)
    indexConceptFieldCI(concepts, (Class) params[i], (S) params[i+1]);
}

Author comment

Began life as a copy of #1023273

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: #1024289
Snippet name: indexConceptFieldsCI - index certain case-insensitive concept fields - idempotent
Eternal ID of this version: #1024289/3
Text MD5: 065d78a7c5f8689a9ea9b1df1ee8f94c
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:29:19
Source code size: 357 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 238 / 300
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1024290 - indexConceptFields - index certain concept fields - idempotent