Libraryless. Click here for Pure Java version (18883L/116K).
1 | set flag tok_defaultArguments_debug. |
2 | set flag printMapLikesEtc. |
3 | |
4 | // if there is a non-ordered index, it keeps that one |
5 | static ConceptFieldIndexDesc nuLike indexConceptFieldDesc_v2(Concepts cc default db_mainConcepts(), Class<? extends Concept> c, S field) {
|
6 | var idx = (ConceptFieldIndexDesc) getConceptFieldIndex(cc, c, field); |
7 | ret idx != null ? idx : new ConceptFieldIndexDesc(cc, c, field); |
8 | } |
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: | 392 / 547 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |