Class MapContainerPolicy.MapContainerPolicyIterator

java.lang.Object
org.eclipse.persistence.internal.queries.MapContainerPolicy.MapContainerPolicyIterator
All Implemented Interfaces:
Iterator
Enclosing class:
MapContainerPolicy

public static class MapContainerPolicy.MapContainerPolicyIterator extends Object implements 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.
  • Constructor Details

    • MapContainerPolicyIterator

      public MapContainerPolicyIterator(Map container)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator
    • next

      public Map.Entry next()
      Specified by:
      next in interface Iterator
    • getCurrentKey

      public Object getCurrentKey()
    • getCurrentValue

      public Object getCurrentValue()
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator