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

7
LINES

< > BotCompany Repo | #1030270 // isConceptClassIndexed

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

Libraryless. Click here for Pure Java version (13284L/90K).

1  
static <A extends Concept> bool nuLike isConceptClassIndexed(Class<A> c) {
2  
  ret isConceptClassIndexed(db_mainConcepts(), c);
3  
}
4  
5  
static <A extends Concept> bool isConceptClassIndexed(Concepts concepts, Class<A> c) {
6  
  ret concepts.conceptCounterForClass(c) != null;
7  
}

Author comment

Began life as a copy of #1005039

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030270
Snippet name: isConceptClassIndexed
Eternal ID of this version: #1030270/3
Text MD5: 82bc8fdde01d699ef9206ef45da90034
Transpilation MD5: 6f797085a12430151eb140b4f3c9dfef
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-25 13:53:38
Source code size: 275 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 209 / 321
Version history: 2 change(s)
Referenced in: [show references]