Class 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.
    Author:
    tware
    • Constructor Detail

      • MapContainerPolicyIterator

        public MapContainerPolicyIterator​(Map container)
    • Method Detail

      • hasNext

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

        public Object getCurrentKey()
      • getCurrentValue

        public Object getCurrentValue()
      • remove

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