Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1030773 // ensureConceptClassIsIndexed

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (17795L/109K).

1  
svoid ensureConceptClassIsIndexed(Concepts cc default db_mainConcepts(), Class<? extends Concept> c) {
2  
  if (cc != null && c != null && !isConceptClassIndexed(cc, c))
3  
    indexRandomConceptField(cc, c);
4  
}

Author comment

Began life as a copy of #1030597

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030773
Snippet name: ensureConceptClassIsIndexed
Eternal ID of this version: #1030773/2
Text MD5: 0b4b1f65cbd0c278d12c7cba9b8e4d7b
Transpilation MD5: 173d3adf46c9ca10814b226bca692ee1
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:15:21
Source code size: 207 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 189 / 273
Version history: 1 change(s)
Referenced in: [show references]