Code example for ListIterator

Methods: remove

0
        /** 
         * Removes from the list the last element that was returned by 
         * {@link #next} or {@link #previous} 
         */ 
        public void remove() { 
            valuesIter.remove(); 
        } 
 
        /** 
         * Replaces the last element returned by {@link #next} or {@link #previous} 
         * with the specified element. 
         */ 
        public void set(final V o) { 
            valuesIter.set(o); 
        } 
 
        /** 
         * Inserts the specified element into the list. The element will have the same key than 
         * the one from the previous call to {@link #next} or {@link #previous}. 
         */ 
        public void add(final V o) {