Show / Hide Table of Contents

Interface PagedEnumerator.IAdvancer

Advancer is a pluggable component that knows how to load a new page (collection) of objects to be used by the enclosing PagedEnumerator.

Namespace: Tangosol.Util
Assembly: Coherence.dll
Syntax
public interface PagedEnumerator.IAdvancer

Methods

NextPage()

Obtain a new page of objects to be used by the enclosing PagedEnumerator.

Declaration
ICollection NextPage()
Returns
Type Description
ICollection

A collection of objects or null if the advancer is exhausted.

Remove(object)

Remove the specified object from the underlying collection.

Declaration
void Remove(object curr)
Parameters
Type Name Description
object curr

Currently "active" item to be removed from an underlying collection.

Remarks

Naturally, only an object from the very last non-empty page could be removed.

Reset()

Sets the advancer to its initial position, which is before the first page.

Declaration
void Reset()
In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.