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

7
LINES

< > BotCompany Repo | #1031022 // printAllConceptChanges

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

Libraryless. Click here for Pure Java version (14893L/96K).

svoid printAllConceptChanges(Concepts cc default db_mainConcepts()) {
  cc.addConceptIndex(new IConceptIndex {
    public void update(Concept c) { print("Updated: " + c); }
    public void remove(Concept c) { print("Removed: " + c); }
  });
  cc.onAllChanged.add(r { print("General concepts change"); });
}

Author comment

Began life as a copy of #1028823

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1031022
Snippet name: printAllConceptChanges
Eternal ID of this version: #1031022/1
Text MD5: 65c0e28c750b44b958a060003a177852
Transpilation MD5: ca3b16de5b43d732a094b3b0f578f274
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:16:58
Source code size: 312 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 151 / 218
Referenced in: [show references]