Libraryless. Click here for Pure Java version (17806L/109K).
svoid indexRandomConceptField(Concepts cc default db_mainConcepts(), Class<? extends Concept> c) { S field = or(first(conceptFields(c)), "_dummy"); print("Indexing " + c + "." + field); indexConceptField(cc, c, field); assertTrue("Concept class indexed", isConceptClassIndexed(cc, c)); time { print("Got " + nConcepts(countConcepts(cc, c))); } }
Began life as a copy of #1024318
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030598 |
| Snippet name: | indexRandomConceptField - actually uses alphabetically first field |
| Eternal ID of this version: | #1030598/7 |
| Text MD5: | 3148d58753dff575d3ad11cccf700e2b |
| Transpilation MD5: | 01ab7885d224d26fcdc3db161fa18692 |
| Author: | stefan |
| Category: | javax / concepts |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-07-24 00:42:44 |
| Source code size: | 361 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 395 / 530 |
| Version history: | 6 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |