Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


com.tangosol.net.cache
Class OverflowMap.InternalKeySet.InternalKeySetIterator

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.AbstractStableIterator
          extended by com.tangosol.net.cache.OverflowMap.InternalKeySet.InternalKeySetIterator

All Implemented Interfaces:
java.util.Iterator
Enclosing class:
OverflowMap.InternalKeySet

protected class OverflowMap.InternalKeySet.InternalKeySetIterator
extends AbstractStableIterator

An Iterator implementation over the keys in the OverflowMap that that is based on a concurrent Iterator over the internal status map.


Constructor Summary
OverflowMap.InternalKeySet.InternalKeySetIterator()
          Default constructor.

 

Method Summary
protected  void advance()
          Advance to the next object.
protected  void remove(java.lang.Object oPrev)
          Remove the specified item.

 

Methods inherited from class com.tangosol.util.AbstractStableIterator
getPrevious, hasNext, next, remove, setNext

 

Constructor Detail

OverflowMap.InternalKeySet.InternalKeySetIterator

public OverflowMap.InternalKeySet.InternalKeySetIterator()
Default constructor.

Method Detail

advance

protected void advance()
Advance to the next object.

This method must be implemented by the concrete sub-class by calling AbstractStableIterator.setNext(java.lang.Object) if there is a next object.

Specified by:
advance in class AbstractStableIterator

remove

protected void remove(java.lang.Object oPrev)
Remove the specified item.

This is an optional operation. If the Iterator supports element removal, then it should implement this method, which is delegated to by the AbstractStableIterator.remove() method.

Overrides:
remove in class AbstractStableIterator
Parameters:
oPrev - the previously iterated object that should be removed
See Also:
OverflowMap.isInternalKeySetIteratorMutable()

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


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