Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


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
 java.util.Collection nextPage()
          Obtain a new page of objects to be used by the enclosing PagedIterator.
 void remove(java.lang.Object oCurr)
          Remove the specified object from the underlying collection.

 

Method Detail

nextPage

java.util.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(java.lang.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

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.