Code example for ListIterator

Methods: nextIndex

0
        return result;
    } 
 
    public int nextIndex() 
    { 
        return iter.nextIndex();
    } 
 
    public Object previous()
    { 
        Object result = iter.previous();
        reverse = true;
        return result;
    } 
 
    public int previousIndex() 
    { 
        return iter.previousIndex();
    }