1 | svoid indexConceptFieldDesc(Class<? extends Concept> c, S field) { |
2 | indexConceptFieldDesc(db_mainConcepts(), c, field); |
3 | } |
4 | |
5 | // if there is a non-ordered index, it keeps that one |
6 | svoid indexConceptFieldDesc(Concepts concepts, Class<? extends Concept> c, S field) { |
7 | if (!isConceptFieldIndexed(concepts, c, field)) |
8 | new ConceptFieldIndexDesc(concepts, c, field); |
9 | } |
Began life as a copy of #1008622
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: | #1026157 |
Snippet name: | indexConceptFieldDesc - add index to a field of a concept class - idempotent |
Eternal ID of this version: | #1026157/1 |
Text MD5: | aef11da2d6def13ef113fe0c35b6edd0 |
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:27:32 |
Source code size: | 374 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 257 / 312 |
Referenced in: | [show references] |