static L ai_triplesToWebNodes_lazyList(fS searchTerm, final L l) { ret new LazyList() { final int n = l(l); public int size() { ret n; } public WebNode get(int i) { TripleWeb w = l.get(i); int runLength = 0; while (i-runLength > 0 && l.get(i-runLength-1) == w) ++runLength; ret ai_tripleToWebNode(l.get(i), searchTerm, runLength); } }; }