int len = o.length;
int len = (o==null)?0:o.length;
    public static Iterator array(final Object[] o) {        return new Iterator() {            int i = 0;            int len = o.length;            public boolean hasNext() {                return i < len;            }            public Object next() {                if (i < len) {                    return o[i++];                } else {                    throw new NoSuchElementException();                }            }            public void remove() {                throw new UnsupportedOperationException();            }        };    } 