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.Iterator
INTERNAL: 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.Object
getCurrentKey()
java.lang.Object
getCurrentValue()
boolean
hasNext()
java.util.Map.Entry
next()
void
remove()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator
-
next
public java.util.Map.Entry next()
- Specified by:
next
in interfacejava.util.Iterator
-
getCurrentKey
public java.lang.Object getCurrentKey()
-
getCurrentValue
public java.lang.Object getCurrentValue()
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator
-
-