Class MapContainerPolicy.MapContainerPolicyIterator
- java.lang.Object
-
- org.eclipse.persistence.internal.queries.MapContainerPolicy.MapContainerPolicyIterator
-
- All Implemented Interfaces:
java.util.Iterator
- Enclosing class:
- MapContainerPolicy
public static class MapContainerPolicy.MapContainerPolicyIterator extends java.lang.Object implements java.util.IteratorINTERNAL: This inner class is used to iterate through the Map.Entry s of a Map. It maintains a pointer to the current entry to allow access to the key and the value.- Author:
- tware
-
-
Constructor Summary
Constructors Constructor Description MapContainerPolicyIterator(java.util.Map container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetCurrentKey()java.lang.ObjectgetCurrentValue()booleanhasNext()java.util.Map.Entrynext()voidremove()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator
-
next
public java.util.Map.Entry next()
- Specified by:
nextin interfacejava.util.Iterator
-
getCurrentKey
public java.lang.Object getCurrentKey()
-
getCurrentValue
public java.lang.Object getCurrentValue()
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator
-
-