Libraryless. Click here for Pure Java version (17186L/105K).
static AutoCloseable nuLike onConceptChangeByClass_notOnAllChanged(Concepts cc default db_mainConcepts(), Class type, Runnable r) { ret tempAddConceptIndex(cc, new IConceptIndex { public void update(Concept c) { if (instanceOf(c, type)) pcallF(r); } public void remove(Concept c) { if (instanceOf(c, type)) pcallF(r); } }); } static <A extends Concept> AutoCloseable nuLike onConceptChangeByClass_notOnAllChanged(Concepts cc default db_mainConcepts(), Class<A> type, IVF1<A> r) { ret tempAddConceptIndex(cc, new IConceptIndex { public void update(Concept c) { if (instanceOf(c, type)) pcallF(r, (A) c); } public void remove(Concept c) { if (instanceOf(c, type)) pcallF(r, (A) c ); } }); }
Began life as a copy of #1028806
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: | #1028823 |
Snippet name: | onConceptChangeByClass_notOnAllChanged |
Eternal ID of this version: | #1028823/6 |
Text MD5: | 9ea55cdae3cd296112823f12fe348333 |
Transpilation MD5: | 29a2381b42dd85091696f3f12969b01b |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-21 18:06:48 |
Source code size: | 725 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 234 / 325 |
Version history: | 5 change(s) |
Referenced in: | [show references] |