static A cyclicGet(L l, int i) { ret empty(l) ? null : get(l, mod(i, l(l))); } sbool cyclicGet(BitSet bs, int n, int i) { ret bs != null && bs.get(mod(i, n)); } ifclass LongBuffer static long cyclicGet(LongBuffer l, int i) { ret l.get(mod(i, l.size())); } endif