sclass TreeOfListFollowups extends Tree { L list; MultiMap index; *(L *list, MultiMap *index, A a) { super(a); } L> children() { ret children = map(entriesFollowingIndices(list, index.get(a)), s -> new TreeOfListFollowups(list, index, s)); } }