com.neeve.lang
Interface XIterator<T>

All Superinterfaces:
Iterator<T>
All Known Subinterfaces:
XDateIterator, XStringIterator
All Known Implementing Classes:
XArrayIterator, XCollectionIterator, XDateArrayIterator, XStringArrayIterator

public interface XIterator<T>
extends Iterator<T>

An iterator with the capability of being reset.


Method Summary
 XIterator<T> toFirst()
          Resets the iterator to the first element.
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

toFirst

XIterator<T> toFirst()
Resets the iterator to the first element.

Throws:
UnsupportedOperationException - if the toFirst operation is not supported by this iterator.


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.