static L withPreContext(int n, L l, A item) { int i = indexOf(l, item); if (i < 0) null; ret subList(l, i-n+1, i+1); }