public interface ReadOnlyIterator<E>
Iterator which supports only read operation, hence it does not contain the
 remove operation| Modifier and Type | Method and Description | 
|---|---|
| void | close()Closes the iterator | 
| boolean | hasNext()Returns true if the iteration has more elements. | 
| E | next()Returns the next element in the iteration. | 
boolean hasNext()
E next()
hasNext() method returns false will return each element in the underlying collection
 exactly once.NoSuchElementException - iteration has no more elements.void close()
Copyright © GigaSpaces.