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 AutoCloseable nuLike onConceptChangeByClass_notOnAllChanged(Concepts cc default db_mainConcepts(), Class type, IVF1 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 ); }
});
}