Libraryless. Click here for Pure Java version (14927L/96K).
1 | svoid nuLike onConceptChangeByClasses_notOnAllChanged(Concepts cc default db_mainConcepts(), Cl<Class> types, Runnable r) {
|
2 | cc.addConceptIndex(new IConceptIndex {
|
3 | public void update(Concept c) { if (isInstanceOfAny(c, types)) pcallF(r); }
|
4 | public void remove(Concept c) { if (isInstanceOfAny(c, types)) pcallF(r); }
|
5 | }); |
6 | } |
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: | #1031020 |
| Snippet name: | onConceptChangeByClasses_notOnAllChanged |
| Eternal ID of this version: | #1031020/1 |
| Text MD5: | ba64c7633989ae6726e26a06400f0dfe |
| Transpilation MD5: | 59b8bc6d82fc84c5a93d28a2fbf1a882 |
| 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:12:09 |
| Source code size: | 337 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 337 / 469 |
| Referenced in: | [show references] |