Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


com.tangosol.util
Class SegmentedHashMap.EntrySet.EntrySetIterator

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.AbstractStableIterator
          extended by com.tangosol.util.SegmentedHashMap.EntrySet.EntrySetIterator

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

protected class SegmentedHashMap.EntrySet.EntrySetIterator
extends 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.tangosol.util.AbstractStableIterator
getPrevious, hasNext, next, 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 AbstractStableIterator

remove

protected void remove(java.lang.Object oPrev)
Remove the specified item from the underlying Map.
Overrides:
remove in class 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 3.7.0.0

E18683-01


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