static L subList(L l, int startIndex) {
ret subList(l, startIndex, l(l));
}
static L subList(L l, int startIndex, int endIndex) {
if (l == null) null;
startIndex = Math.max(0, startIndex);
endIndex = Math.min(l(l), endIndex);
if (startIndex >= endIndex) ret ll();
ret l.subList(startIndex, endIndex);
}
ifclass IntRange
static L subList(L l, IntRange r) {
ret subList(l, r.start, r.end);
}
endif