Package com.tangosol.util
Interface PagedIterator.Advancer
- 
- Enclosing class:
 - PagedIterator
 
public 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. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CollectionnextPage()Obtain a new page of objects to be used by the enclosing PagedIterator.voidremove(Object oCurr)Remove the specified object from the underlying collection. 
 - 
 
- 
- 
Method Detail
- 
nextPage
Collection nextPage()
Obtain a new page of objects to be used by the enclosing PagedIterator.- Returns:
 - a Collection of objects or null if the Advancer is exhausted
 
 
- 
remove
void remove(Object oCurr)
Remove the specified object from the underlying collection. Naturally, only an object from the very last non-empty page could be removed.- Parameters:
 oCurr- currently "active" item to be removed from an underlying collection
 
 - 
 
 -