| 
 | Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
   com.tangosol.net.cache.SimpleOverflowMap.KeyIterator
com.tangosol.net.cache.SimpleOverflowMap.KeyIterator
protected class SimpleOverflowMap.KeyIterator
An Iterator implementation that attempts to provide the most resilient and most up-to-date view of the keys in the OverflowMap. This means that it will avoid throwing a ConcurrentModificationException, and that it will attempt to directly use the underlying iterators available for the front and back maps.
| Constructor Summary | |
|---|---|
| SimpleOverflowMap.KeyIterator()Default constructor. | |
| Method Summary | |
|---|---|
| protected  boolean | advance()Advance to the next key. | 
|  boolean | hasNext()Returns true if the iteration has more elements. | 
|  java.lang.Object | next()Returns the next element in the iteration. | 
|  void | remove()Removes from the underlying collection the last element returned by the iterator. | 
| protected  void | useBackIterator()Switch to an iterator over the back map. | 
| protected  void | useDoneIterator()Switch to an iterator over nothing. | 
| protected  void | useFrontIterator()Switch to a snapshot iterator. | 
| protected  void | useSnapshotIterator()Switch to a snapshot iterator. | 
| Constructor Detail | 
|---|
public SimpleOverflowMap.KeyIterator()
| Method Detail | 
|---|
public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorjava.util.NoSuchElementException - if the Iterator has no more elementspublic void remove()
remove in interface java.util.Iteratorjava.lang.IllegalStateException - if the next method has not yet been called, or the remove method has already been called after the last call to the next methodprotected boolean advance()
protected void useFrontIterator()
protected void useBackIterator()
protected void useSnapshotIterator()
protected void useDoneIterator()
| 
 | Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||