|
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.util.Base
com.tangosol.util.PagedIterator
public class PagedIterator
PagedIterator is an Iterator implementation based on a concept of a page Advancer - a pluggable component that knows how to supply a next page of objects to iterate through. As common to iterators, this implementation is not thread safe.
| Nested Class Summary | |
|---|---|
static interface |
PagedIterator.AdvancerAdvancer is a pluggable component that knows how to load a new page (Collection) of objects to be used by the enclosing PagedIterator. |
| Field Summary | |
|---|---|
protected PagedIterator.Advancer |
m_advancerThe underlying Advancer. |
protected java.util.Iterator |
m_iterPageAn Iterator for the current page. |
protected java.lang.Object |
m_oCurrCurrently "Active" object. |
| Constructor Summary | |
|---|---|
PagedIterator(PagedIterator.Advancer advancer)Construct a PagedIterator based on the specified Advancer. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()Check whether or not the iterator has more elements. |
java.lang.Object |
next()Return the next element in the iteration. |
void |
remove()Removes from the underlying collection the last element returned by the iterator. |
| Field Detail |
|---|
protected PagedIterator.Advancer m_advancer
protected java.util.Iterator m_iterPage
protected java.lang.Object m_oCurr
| Constructor Detail |
|---|
public PagedIterator(PagedIterator.Advancer advancer)
advancer - the underlying Advancer| Method Detail |
|---|
public void remove()
remove in interface java.util.Iteratorpublic boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iterator
|
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 | |||||||