Package com.tangosol.util
Class AbstractKeySetBasedMap.KeyIterator
- java.lang.Object
- 
- com.oracle.coherence.common.collections.AbstractStableIterator<K>
- 
- com.tangosol.util.AbstractKeySetBasedMap.KeyIterator
 
 
- 
- All Implemented Interfaces:
- Enumeration<K>,- Iterator<K>
 - Enclosing class:
- AbstractKeySetBasedMap<K,V>
 
 public class AbstractKeySetBasedMap.KeyIterator extends com.oracle.coherence.common.collections.AbstractStableIterator<K>An iterator over the keys from the internal key Set that implements element removal via the Map's removeBlind method.
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedKeyIterator(Iterator<K> iter)Construct a KeyIterator.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidadvance()Advance to the next object.protected voidremove(Object oPrev)Remove the specified item.- 
Methods inherited from class com.oracle.coherence.common.collections.AbstractStableIteratorgetPrevious, hasMoreElements, hasNext, next, nextElement, remove, setNext
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.util.EnumerationasIterator
 - 
Methods inherited from interface java.util.IteratorforEachRemaining
 
- 
 
- 
- 
- 
Method Detail- 
advanceprotected void advance() Advance to the next object.This method must be implemented by the concrete sub-class by calling AbstractStableIterator.setNext(T)if there is a next object.- Specified by:
- advancein class- com.oracle.coherence.common.collections.AbstractStableIterator<K>
 
 - 
removeprotected void remove(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:
- removein class- com.oracle.coherence.common.collections.AbstractStableIterator<K>
- Parameters:
- oPrev- the previously iterated object that should be removed
 
 
- 
 
-