Libraryless. Click here for Pure Java version (18883L/116K).
set flag tok_defaultArguments_debug. set flag printMapLikesEtc. // if there is a non-ordered index, it keeps that one static ConceptFieldIndexDesc nuLike indexConceptFieldDesc_v2(Concepts cc default db_mainConcepts(), Class<? extends Concept> c, S field) { var idx = (ConceptFieldIndexDesc) getConceptFieldIndex(cc, c, field); ret idx != null ? idx : new ConceptFieldIndexDesc(cc, c, field); }
Began life as a copy of #1026157
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032779 |
Snippet name: | indexConceptFieldDesc_v2 - add index to a field of a concept class - idempotent - return index |
Eternal ID of this version: | #1032779/7 |
Text MD5: | e36f31ab2b4ffd7d853a2253e7453aea |
Transpilation MD5: | 15fbd82f5345771378e601a8d05e9bb8 |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-06 11:05:23 |
Source code size: | 405 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 186 / 302 |
Version history: | 6 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |