/*
 * jlib - The Free Java Library
 *
 *    http://www.jlib.org
 *
 * Copyright (c) 2006-2008 Igor Akkerman
 *
 * jlib is distributed under the
 *
 *    COMMON PUBLIC LICENSE VERSION 1.0
 *
 *    http://www.opensource.org/licenses/cpl1.0.php
 */

package org.jlib.container.sequence;

import org.jlib.core.traverser.ReplaceTraverser;

/**
 * Traverser of an ReplaceSequence.
 * 
 * @param <Item>
 *        type of items held in the {@link Sequence}
 * @author Igor Akkerman
 */
public interface ReplaceSequenceTraverser<Item>
extends ReplaceTraverser<Item>, SequenceTraverser<Item> {

    /**
     * Replaces the last Item returned by {@code previous()} or
     * {@code next()} with the specified value.
     * 
     * @param item
     *        Item by which the former Item is replaced
     * 
     * @throws NoItemToReplaceException
     *         if no Item has been returned by this
     *         {@link ReplaceSequenceTraverser}
     */
    @Override
    public void replace(final Item item)
    throws NoItemToReplaceException;
}

@@ -649,23 +649,16 @@
 us()%7D or
-%0A     *
  %7B@code 
@@ -664,16 +664,23 @@
  next()%7D
+%0A     *
  with th
@@ -720,17 +720,20 @@
  @param 
-i
+newI
 tem%0A    
@@ -989,17 +989,20 @@
 al Item 
-i
+newI
 tem)%0A   

replace parameter renamed