Libraryless. Click here for Pure Java version (14766L/95K).
// doesn't trigger on remove, just register and update static <A extends Concept> void nuLike onIndividualConceptChange_notOnAllChanged(Concepts cc default db_mainConcepts(), Class<A> type, IVF1<A> r) { if (r != null) cc?.addConceptIndex(new IConceptIndex { public void update(Concept c) { if (instanceOf(c, type)) r.get((A) c); } public void remove(Concept c) {} }); }
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: | #1030870 |
| Snippet name: | onIndividualConceptChange_notOnAllChanged |
| Eternal ID of this version: | #1030870/1 |
| Text MD5: | 0070701696e32a88e03d495f5a9724a9 |
| Transpilation MD5: | a61bf5415f9e0589605829580e52de15 |
| Author: | stefan |
| Category: | javax / concepts |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-04-05 13:53:27 |
| Source code size: | 408 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 418 / 573 |
| Referenced in: | [show references] |