Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.util
Class SegmentedHashMap.EntrySet.EntrySetIterator

java.lang.Object
  extended by com.oracle.common.collections.AbstractStableIterator
      extended by com.tangosol.util.SegmentedHashMap.EntrySet.EntrySetIterator

All Implemented Interfaces:
java.util.Enumeration, java.util.Iterator
Enclosing class:
SegmentedHashMap.EntrySet

protected class SegmentedHashMap.EntrySet.EntrySetIterator
extends com.oracle.common.collections.AbstractStableIterator

An Iterator over the EntrySet that is backed by the SegmentedHashMap.


Constructor Summary
protected SegmentedHashMap.EntrySet.EntrySetIterator()
          Construct an Iterator over the Entries in the SegmentedHashMap.

 

Method Summary
protected  void advance()
          Advance to the next object in the iteration.
protected  void deactivate()
          Shut down the Iterator.
protected  void remove(java.lang.Object oPrev)
          Remove the specified item from the underlying Map.

 

Methods inherited from class com.oracle.common.collections.AbstractStableIterator
getPrevious, hasMoreElements, hasNext, next, nextElement, remove, setNext

 

Constructor Detail

SegmentedHashMap.EntrySet.EntrySetIterator

protected SegmentedHashMap.EntrySet.EntrySetIterator()
Construct an Iterator over the Entries in the SegmentedHashMap.

Method Detail

advance

protected void advance()
Advance to the next object in the iteration.
Specified by:
advance in class com.oracle.common.collections.AbstractStableIterator

remove

protected void remove(java.lang.Object oPrev)
Remove the specified item from the underlying Map.
Overrides:
remove in class com.oracle.common.collections.AbstractStableIterator
Parameters:
oPrev - the previously iterated object to remove

deactivate

protected void deactivate()
Shut down the Iterator. This is done on exhaustion of the contents of the Iterator, or on finalization of the Iterator.

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


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