Libraryless. Click here for Pure Java version (17806L/109K).
1 | svoid indexRandomConceptField(Concepts cc default db_mainConcepts(), Class<? extends Concept> c) { |
2 | S field = or(first(conceptFields(c)), "_dummy"); |
3 | print("Indexing " + c + "." + field); |
4 | indexConceptField(cc, c, field); |
5 | assertTrue("Concept class indexed", isConceptClassIndexed(cc, c)); |
6 | time { print("Got " + nConcepts(countConcepts(cc, c))); } |
7 | } |
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: | 176 / 276 |
Version history: | 6 change(s) |
Referenced in: | [show references] |