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

11
LINES

< > BotCompany Repo | #1028806 // onConceptChangeByClass

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

Transpiled version (12851L) is out of date.

// TODO: this doesn't really make sense right now as
// onAllChanged is called on every change. We need a new
// event type "unknown change" or something.
svoid nuLike onConceptChangeByClass(Class type, Runnable r) {
  onConceptChangeByClass(db_mainConcepts(), type, r);
}

svoid onConceptChangeByClass(Concepts cc, Class type, Runnable r) {
  onConceptChangeByClass_notOnAllChanged(cc, type, r);
  cc.onAllChanged.add(r);
}

Author comment

Began life as a copy of #1016028

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028806
Snippet name: onConceptChangeByClass
Eternal ID of this version: #1028806/8
Text MD5: 7659712cb575e7ec7b72eb8bb5d3ab9c
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-22 19:24:48
Source code size: 434 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 256 / 355
Version history: 7 change(s)
Referenced in: [show references]