static ItIt intArrayIterator(int[] l) { ret l == null ? null : new ItIt { int i = 0; public bool hasNext() { ret i < l.length; } public Int next() { ret l[i++]; } }; }