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).

static <A extends Concept> bool nuLike isConceptClassIndexed(Class<A> c) {
  ret isConceptClassIndexed(db_mainConcepts(), c);
}

static <A extends Concept> bool isConceptClassIndexed(Concepts concepts, Class<A> c) {
  ret concepts.conceptCounterForClass(c) != null;
}

Author comment

Began life as a copy of #1005039

download  show line numbers  debug dex   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

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: 14 / 28
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1030270 & http://1030270.tinybrain.de