Libraryless. Click here for Pure Java version (16259L/105K).
static <A extends Concept> ConceptFieldIndexCI_withTopTen<A> indexConceptFieldCIWithTopTen(Concepts cc default db_mainConcepts(), Class<A> c, S field) { var idx = getConceptFieldCIIndex(cc, c, field); if (idx cast ConceptFieldIndexCI_withTopTen) ret idx; // replace existing index without top ten if (idx != null) cc.removeCIFieldIndex(c, field); ret new ConceptFieldIndexCI_withTopTen(cc, c, field); }
Began life as a copy of #1014415
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031462 |
| Snippet name: | indexConceptFieldCIWithTopTen - index a case-insensitive string field with value top ten |
| Eternal ID of this version: | #1031462/4 |
| Text MD5: | 8a99a9d023e950f745e8d30874987763 |
| Transpilation MD5: | f551912a6d5ea1c6a23ce8b66e760aa1 |
| Author: | stefan |
| Category: | javax / concepts |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-14 01:19:59 |
| Source code size: | 440 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 389 / 512 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |