catch (NullPointerException ex) { throw new NoSuchElementException(); }
    public T previous() throws NoSuchElementException    {        T result = null;        try        {            result = array[--next];        }        catch (ArrayIndexOutOfBoundsException ex)        {            throw new NoSuchElementException();        }        return result;    }