svn-gvsig-desktop / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / selection / ResettableIterator.java @ 26898
History | View | Annotate | Download (679 Bytes)
1 |
package com.iver.cit.gvsig.fmap.selection; |
---|---|
2 |
|
3 |
import java.util.Iterator; |
4 |
|
5 |
/**
|
6 |
* <p>Extends the Iterator Interface, allowing to reset the
|
7 |
* Iterator. Calling
|
8 |
* <code>next();</code> after a <code>reset();</code>
|
9 |
* will get the first element in
|
10 |
* the iterator.</p>
|
11 |
*
|
12 |
* @author IVER T.I. <http://www.iver.es> 23/02/2009
|
13 |
* @author Cesar Martinez Izquierdo <cesar.martinez@iver.es> 23/02/2009
|
14 |
*
|
15 |
* @param <E>
|
16 |
*/
|
17 |
public interface ResettableIterator<E> extends Iterator<E> { |
18 |
/**
|
19 |
* <p>Sets the iterator to its initial state. Calling
|
20 |
* <code>next();</code> after a <code>reset();</code>
|
21 |
* will get the first element in
|
22 |
* the iterator.</p>.
|
23 |
*/
|
24 |
public void reset(); |
25 |
} |