Package com.tangosol.util
Interface PagedIterator.Advancer
-
- Enclosing class:
- PagedIterator
public static interface PagedIterator.Advancer
Advancer 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 Collection
nextPage()
Obtain a new page of objects to be used by the enclosing PagedIterator.void
remove(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
-
-