Class EmptyIterator

java.lang.Object
net.infonode.util.collection.map.EmptyIterator
All Implemented Interfaces:
ConstMapIterator, MapIterator

public class EmptyIterator extends Object implements MapIterator
  • Field Details

  • Method Details

    • remove

      public void remove()
      Specified by:
      remove in interface MapIterator
    • getKey

      public Object getKey()
      Description copied from interface: ConstMapIterator
      Returns the key at the current map entry.
      Specified by:
      getKey in interface ConstMapIterator
      Returns:
      the key at the current map entry
    • getValue

      public Object getValue()
      Description copied from interface: ConstMapIterator
      Returns the value at the current map entry.
      Specified by:
      getValue in interface ConstMapIterator
      Returns:
      the value at the current map entry
    • next

      public void next()
      Description copied from interface: ConstMapIterator
      Advance the iterator to the next entry.
      Specified by:
      next in interface ConstMapIterator
    • atEntry

      public boolean atEntry()
      Description copied from interface: ConstMapIterator
      Returns true if the iterator points to an entry in the map.
      Specified by:
      atEntry in interface ConstMapIterator
      Returns:
      true if the iterator points to an entry in the map